Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001278/0.001278, allocations: 113 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001494/0.001494, allocations: 213.9 kB / 22.25 MB, free: 5.117 MB / 14.72 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 1.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 68.81 kB / 1.117 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3704, allocations: 169.9 MB / 1.283 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2083/0.5787, allocations: 171.9 MB / 1.451 GB, free: 7.281 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02668/0.6054, allocations: 17.46 MB / 1.468 GB, free: 5.762 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.6072, allocations: 43.62 kB / 1.468 GB, free: 5.719 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.6095, allocations: 0.5779 MB / 1.469 GB, free: 5.137 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006237/0.6158, allocations: 1.671 MB / 1.471 GB, free: 3.457 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.6202, allocations: 1.383 MB / 1.472 GB, free: 2.086 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004853/0.625, allocations: 2.731 MB / 1.475 GB, free: 15.35 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003229/0.6283, allocations: 1.539 MB / 1.476 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004931/0.6332, allocations: 1.435 MB / 1.477 GB, free: 12.36 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.6352, allocations: 1.015 MB / 1.478 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006842/0.6359, allocations: 212 kB / 1.479 GB, free: 11.13 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004257/0.6402, allocations: 1.517 MB / 1.48 GB, free: 9.613 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.6412, allocations: 0.5608 MB / 1.481 GB, free: 9.051 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002097/0.6433, allocations: 1.042 MB / 1.482 GB, free: 8.004 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00755/0.6509, allocations: 3.18 MB / 1.485 GB, free: 4.812 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6509, allocations: 0 / 1.485 GB, free: 4.812 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6509, allocations: 0 / 1.485 GB, free: 4.812 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001158/0.651, allocations: 0 / 1.485 GB, free: 4.812 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005932/0.6569, allocations: 2.298 MB / 1.487 GB, free: 2.465 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.621e-05/0.657, allocations: 12.03 kB / 1.487 GB, free: 2.453 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000488/0.6575, allocations: 249 kB / 1.487 GB, free: 2.199 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004595/0.6621, allocations: 0.5724 MB / 1.488 GB, free: 1.625 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.6645, allocations: 1.061 MB / 1.489 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.6646, allocations: 127.4 kB / 1.489 GB, free: 416 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.6649, allocations: 168 kB / 1.489 GB, free: 248 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/0.6684, allocations: 1.839 MB / 1.491 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.6685, allocations: 4 kB / 1.491 GB, free: 14.34 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.6686, allocations: 72 kB / 1.491 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.6687, allocations: 44 kB / 1.491 GB, free: 14.23 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003629/0.6723, allocations: 1.882 MB / 1.493 GB, free: 12.34 MB / 1.201 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.009845/0.6821, allocations: 5.473 MB / 1.498 GB, free: 6.535 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.6852, allocations: 1.362 MB / 1.5 GB, free: 5.172 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.6865, allocations: 0.5934 MB / 1.5 GB, free: 4.578 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.6876, allocations: 189.1 kB / 1.5 GB, free: 4.395 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/0.6893, allocations: 0.8926 MB / 1.501 GB, free: 3.484 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 2.915e-06/0.6893, allocations: 4 kB / 1.501 GB, free: 3.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.006549/0.6959, allocations: 2.184 MB / 1.503 GB, free: 1.273 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.696, allocations: 205.2 kB / 1.504 GB, free: 1.031 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.6973, allocations: 0.8516 MB / 1.504 GB, free: 160 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.6975, allocations: 53.7 kB / 1.504 GB, free: 100 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006786/0.6982, allocations: 0.6772 MB / 1.505 GB, free: 15.41 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/0.6987, allocations: 0.4918 MB / 1.506 GB, free: 14.91 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/0.6991, allocations: 242.8 kB / 1.506 GB, free: 14.67 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.6993, allocations: 357.9 kB / 1.506 GB, free: 14.32 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.7004, allocations: 470.4 kB / 1.507 GB, free: 13.86 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.7017, allocations: 0.6379 MB / 1.507 GB, free: 13.18 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/0.704, allocations: 1.099 MB / 1.508 GB, free: 12.07 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.704, allocations: 0 / 1.508 GB, free: 12.07 MB / 1.217 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00377/0.7077, allocations: 1.5 MB / 1.51 GB, free: 10.54 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.7078, allocations: 8 kB / 1.51 GB, free: 10.54 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7078, allocations: 0 / 1.51 GB, free: 10.54 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009926/0.7088, allocations: 196.1 kB / 1.51 GB, free: 10.33 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.7103, allocations: 331.5 kB / 1.51 GB, free: 10 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007463/0.7178, allocations: 6.769 MB / 1.517 GB, free: 2.656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.7198, allocations: 157.6 kB / 1.517 GB, free: 2.504 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.7199, allocations: 51.97 kB / 1.517 GB, free: 2.453 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001131/0.721, allocations: 373.5 kB / 1.517 GB, free: 2.078 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/0.7214, allocations: 135.2 kB / 1.518 GB, free: 1.945 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.726, allocations: 1.847 MB / 1.519 GB, free: 76 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.726, allocations: 23.98 kB / 1.519 GB, free: 52 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.726, allocations: 8 kB / 1.519 GB, free: 44 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.7261, allocations: 7.969 kB / 1.519 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007106/0.7332, allocations: 3.42 MB / 1.523 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7332, allocations: 4 kB / 1.523 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.7347, allocations: 315.6 kB / 1.523 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007739/0.7355, allocations: 184.1 kB / 1.523 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.7356, allocations: 39.97 kB / 1.523 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007069/0.7427, allocations: 6.808 MB / 1.53 GB, free: 4.613 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7427, allocations: 0 / 1.53 GB, free: 4.613 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.747, allocations: 1.717 MB / 1.532 GB, free: 2.863 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009636/0.748, allocations: 342.5 kB / 1.532 GB, free: 2.527 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.7482, allocations: 28 kB / 1.532 GB, free: 2.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.7494, allocations: 110.3 kB / 1.532 GB, free: 2.395 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/0.7498, allocations: 117.1 kB / 1.532 GB, free: 2.277 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.75, allocations: 75.88 kB / 1.532 GB, free: 2.203 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001041/0.751, allocations: 0.5986 MB / 1.533 GB, free: 1.594 MB / 1.232 GB Notification: Performance of sort global known variables: time 7.1e-08/0.751, allocations: 0 / 1.533 GB, free: 1.594 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00166/0.7527, allocations: 0.6078 MB / 1.533 GB, free: 0.9844 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006538/0.7592, allocations: 2.901 MB / 1.536 GB, free: 14.22 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003575/0.7628, allocations: 1.781 MB / 1.538 GB, free: 12.38 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.7628, allocations: 4.656 kB / 1.538 GB, free: 12.37 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.765, allocations: 1.246 MB / 1.539 GB, free: 11.06 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.7674, allocations: 0.5156 MB / 1.54 GB, free: 10.56 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.7873, allocations: 10.05 MB / 1.55 GB, free: 348 kB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.7885, allocations: 1.3 MB / 1.551 GB, free: 15.01 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001764/0.7903, allocations: 438.4 kB / 1.551 GB, free: 14.57 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.7914, allocations: 0.6593 MB / 1.552 GB, free: 13.91 MB / 1.264 GB Notification: Performance of SimCode: time 8.42e-07/0.7914, allocations: 0 / 1.552 GB, free: 13.91 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7278/1.519, allocations: 39.11 MB / 1.59 GB, free: 272.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/18.14, allocations: 2.688 kB / 1.59 GB, free: 272.7 MB / 1.264 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: 25.109410014003515]