Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8863/0.8863, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.64/1.64, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.399e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.5881/0.5881, allocations: 224.9 MB / 1.17 GB, free: 11.87 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01876/0.6068, allocations: 19.01 MB / 1.189 GB, free: 14.88 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.6085, allocations: 107 kB / 1.189 GB, free: 14.82 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.61, allocations: 0.8698 MB / 1.19 GB, free: 14.22 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.6148, allocations: 3.043 MB / 1.193 GB, free: 12.53 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.004635/0.6194, allocations: 2.956 MB / 1.196 GB, free: 11.02 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003424/0.6229, allocations: 3.854 MB / 1.199 GB, free: 9.129 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009806/0.6239, allocations: 0.9025 MB / 1.2 GB, free: 8.664 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.6261, allocations: 1.903 MB / 1.202 GB, free: 7.809 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.627, allocations: 0.9002 MB / 1.203 GB, free: 7.5 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6271, allocations: 113.9 kB / 1.203 GB, free: 7.496 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006156/0.6332, allocations: 3.5 MB / 1.206 GB, free: 6.113 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0004586/0.6337, allocations: 0.6895 MB / 1.207 GB, free: 5.801 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0005381/0.6342, allocations: 0.6277 MB / 1.208 GB, free: 5.555 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.6383, allocations: 4.201 MB / 1.212 GB, free: 3.492 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6383, allocations: 0 / 1.212 GB, free: 3.492 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6383, allocations: 0 / 1.212 GB, free: 3.492 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.6383, allocations: 0 / 1.212 GB, free: 3.492 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.001882/0.6402, allocations: 2.275 MB / 1.214 GB, free: 1.785 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6402, allocations: 10.69 kB / 1.214 GB, free: 1.785 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.6404, allocations: 187.7 kB / 1.214 GB, free: 1.637 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.6415, allocations: 492.6 kB / 1.215 GB, free: 1.398 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.6428, allocations: 1.317 MB / 1.216 GB, free: 444 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.6428, allocations: 95.41 kB / 1.216 GB, free: 400 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/0.6429, allocations: 118.4 kB / 1.216 GB, free: 364 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.6443, allocations: 1.72 MB / 1.218 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.6443, allocations: 6.594 kB / 1.218 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.6444, allocations: 53.33 kB / 1.218 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.6444, allocations: 66.72 kB / 1.218 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.6454, allocations: 1.222 MB / 1.219 GB, free: 14.55 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.6492, allocations: 6.349 MB / 1.225 GB, free: 9.289 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.6498, allocations: 0.6283 MB / 1.226 GB, free: 8.82 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.6503, allocations: 0.5899 MB / 1.227 GB, free: 8.48 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004351/0.6507, allocations: 226.3 kB / 1.227 GB, free: 8.402 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.6508, allocations: 50.5 kB / 1.227 GB, free: 8.352 MB / 1.042 GB Notification: Performance of pre-optimization done (n=72): time 2.796e-06/0.6508, allocations: 2.625 kB / 1.227 GB, free: 8.352 MB / 1.042 GB Notification: Performance of matching and sorting (n=72): time 0.001434/0.6522, allocations: 1.408 MB / 1.228 GB, free: 7.652 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.6523, allocations: 297.1 kB / 1.228 GB, free: 7.305 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.6537, allocations: 1.889 MB / 1.23 GB, free: 6.289 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.6537, allocations: 46.86 kB / 1.23 GB, free: 6.242 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.6542, allocations: 0.737 MB / 1.231 GB, free: 5.59 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.6543, allocations: 247.4 kB / 1.231 GB, free: 5.375 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.6544, allocations: 136.8 kB / 1.231 GB, free: 5.301 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.6545, allocations: 327 kB / 1.232 GB, free: 4.98 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.6548, allocations: 331.6 kB / 1.232 GB, free: 4.82 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.6554, allocations: 0.9885 MB / 1.233 GB, free: 3.941 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.6561, allocations: 0.8706 MB / 1.234 GB, free: 3.414 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6561, allocations: 0 / 1.234 GB, free: 3.414 MB / 1.042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008673/0.6569, allocations: 1.026 MB / 1.235 GB, free: 2.883 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6569, allocations: 8.5 kB / 1.235 GB, free: 2.883 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.657, allocations: 2.25 kB / 1.235 GB, free: 2.883 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.657, allocations: 8.344 kB / 1.235 GB, free: 2.883 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.6572, allocations: 123.2 kB / 1.235 GB, free: 2.855 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.6572, allocations: 14.17 kB / 1.235 GB, free: 2.848 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.6576, allocations: 128.8 kB / 1.235 GB, free: 2.754 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.6577, allocations: 46.86 kB / 1.235 GB, free: 2.742 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003877/0.658, allocations: 457.4 kB / 1.236 GB, free: 2.426 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.6582, allocations: 197.3 kB / 1.236 GB, free: 2.32 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.6593, allocations: 1.09 MB / 1.237 GB, free: 1.738 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.6593, allocations: 14.19 kB / 1.237 GB, free: 1.734 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.6593, allocations: 5.938 kB / 1.237 GB, free: 1.734 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6593, allocations: 3.984 kB / 1.237 GB, free: 1.73 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007066/0.6664, allocations: 7.705 MB / 1.244 GB, free: 12.22 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.6664, allocations: 16 kB / 1.244 GB, free: 12.2 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.6666, allocations: 147.8 kB / 1.245 GB, free: 12.06 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.216e-05/0.6666, allocations: 20 kB / 1.245 GB, free: 12.04 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.6667, allocations: 32 kB / 1.245 GB, free: 12.01 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.557e-05/0.6667, allocations: 31.86 kB / 1.245 GB, free: 11.98 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.6667, allocations: 23.88 kB / 1.245 GB, free: 11.95 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.6679, allocations: 1.658 MB / 1.246 GB, free: 10.07 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.6683, allocations: 338.4 kB / 1.247 GB, free: 9.742 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6684, allocations: 43.98 kB / 1.247 GB, free: 9.699 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.6687, allocations: 24 kB / 1.247 GB, free: 9.676 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.6688, allocations: 115.4 kB / 1.247 GB, free: 9.562 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.6688, allocations: 51.98 kB / 1.247 GB, free: 9.512 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001062/0.6699, allocations: 1.316 MB / 1.248 GB, free: 8.176 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.6699, allocations: 4 kB / 1.248 GB, free: 8.172 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001303/0.6712, allocations: 0.53 MB / 1.249 GB, free: 7.641 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002596/0.6738, allocations: 3.005 MB / 1.252 GB, free: 4.41 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0007389/0.6745, allocations: 0.8326 MB / 1.252 GB, free: 3.574 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6745, allocations: 3.938 kB / 1.252 GB, free: 3.57 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.6749, allocations: 477.4 kB / 1.253 GB, free: 3.105 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.6777, allocations: 1.343 MB / 1.254 GB, free: 1.809 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.6895, allocations: 13.97 MB / 1.268 GB, free: 3.145 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.6901, allocations: 0.8172 MB / 1.269 GB, free: 2.297 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0009893/0.6911, allocations: 494.5 kB / 1.269 GB, free: 1.809 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/0.6916, allocations: 0.6604 MB / 1.27 GB, free: 1.148 MB / 1.073 GB Notification: Performance of SimCode: time 1.062e-06/0.6916, allocations: 0 / 1.27 GB, free: 1.148 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/0.7543, allocations: 64.47 MB / 1.333 GB, free: 1.762 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.741/9.496, allocations: 3.938 kB / 1.333 GB, free: 1.758 MB / 1.135 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.608286627568305]