Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001394/0.001394, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001585/0.001585, allocations: 214.7 kB / 23.04 MB, free: 5.074 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.874/2.874, allocations: 0.49 GB / 0.7959 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="cs",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.001825/0.001825, allocations: 65.81 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2729, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1808/0.4538, allocations: 172 MB / 1.495 GB, free: 5.359 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02093/0.4747, allocations: 17.45 MB / 1.512 GB, free: 3.852 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.4758, allocations: 39.69 kB / 1.512 GB, free: 3.812 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.4772, allocations: 0.5817 MB / 1.512 GB, free: 3.227 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.4813, allocations: 1.67 MB / 1.514 GB, free: 1.551 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.4842, allocations: 1.377 MB / 1.515 GB, free: 188 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003017/0.4872, allocations: 2.735 MB / 1.518 GB, free: 13.44 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.4893, allocations: 1.536 MB / 1.519 GB, free: 11.84 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00387/0.4932, allocations: 1.441 MB / 1.521 GB, free: 10.45 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.4945, allocations: 1.011 MB / 1.522 GB, free: 9.43 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.4947, allocations: 212 kB / 1.522 GB, free: 9.223 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.4975, allocations: 1.505 MB / 1.523 GB, free: 7.715 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.498, allocations: 0.5647 MB / 1.524 GB, free: 7.148 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.4991, allocations: 1.046 MB / 1.525 GB, free: 6.098 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004048/0.5031, allocations: 3.176 MB / 1.528 GB, free: 2.91 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5031, allocations: 0 / 1.528 GB, free: 2.91 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.053e-06/0.5031, allocations: 3.938 kB / 1.528 GB, free: 2.906 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.669e-05/0.5032, allocations: 0 / 1.528 GB, free: 2.906 MB / 1.217 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.004362/0.5076, allocations: 2.31 MB / 1.53 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5076, allocations: 12.03 kB / 1.53 GB, free: 0.5352 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.761e-05/0.5076, allocations: 43.41 kB / 1.53 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002807/0.5079, allocations: 249 kB / 1.531 GB, free: 244 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/0.5121, allocations: 0.5724 MB / 1.531 GB, free: 15.66 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.514, allocations: 1.061 MB / 1.532 GB, free: 14.57 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.5141, allocations: 131.4 kB / 1.532 GB, free: 14.45 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.5143, allocations: 167.9 kB / 1.533 GB, free: 14.28 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.5175, allocations: 1.843 MB / 1.534 GB, free: 12.39 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.5175, allocations: 0 / 1.534 GB, free: 12.39 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.5177, allocations: 72 kB / 1.534 GB, free: 12.32 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.5177, allocations: 47.94 kB / 1.534 GB, free: 12.27 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.521, allocations: 1.878 MB / 1.536 GB, free: 10.39 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007804/0.5288, allocations: 5.643 MB / 1.542 GB, free: 4.352 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.5316, allocations: 1.379 MB / 1.543 GB, free: 2.977 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.5327, allocations: 0.589 MB / 1.544 GB, free: 2.383 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009573/0.5337, allocations: 181.1 kB / 1.544 GB, free: 2.207 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/0.5353, allocations: 0.8918 MB / 1.545 GB, free: 1.297 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 2.915e-06/0.5353, allocations: 4 kB / 1.545 GB, free: 1.293 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.005768/0.541, allocations: 2.184 MB / 1.547 GB, free: 15.09 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.5411, allocations: 201.2 kB / 1.547 GB, free: 14.85 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.5422, allocations: 0.8594 MB / 1.548 GB, free: 13.96 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.5423, allocations: 61.7 kB / 1.548 GB, free: 13.9 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/0.5429, allocations: 0.6655 MB / 1.549 GB, free: 13.22 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/0.5433, allocations: 0.4957 MB / 1.549 GB, free: 12.72 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.5437, allocations: 238.8 kB / 1.549 GB, free: 12.48 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5438, allocations: 353.9 kB / 1.55 GB, free: 12.13 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009775/0.5448, allocations: 478.4 kB / 1.55 GB, free: 11.66 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.5459, allocations: 0.6301 MB / 1.551 GB, free: 10.99 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.5481, allocations: 1.091 MB / 1.552 GB, free: 9.891 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5481, allocations: 0 / 1.552 GB, free: 9.891 MB / 1.248 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003355/0.5514, allocations: 1.508 MB / 1.553 GB, free: 8.359 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5514, allocations: 4 kB / 1.553 GB, free: 8.355 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5514, allocations: 4 kB / 1.553 GB, free: 8.352 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008717/0.5523, allocations: 188.2 kB / 1.553 GB, free: 8.152 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.5538, allocations: 335.6 kB / 1.554 GB, free: 7.824 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006142/0.5599, allocations: 6.788 MB / 1.56 GB, free: 472 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5612, allocations: 156.5 kB / 1.561 GB, free: 316 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.5613, allocations: 52.16 kB / 1.561 GB, free: 264 kB / 1.248 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.0007724/0.5621, allocations: 377.6 kB / 1.561 GB, free: 15.88 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.5624, allocations: 135.2 kB / 1.561 GB, free: 15.74 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/0.5664, allocations: 1.843 MB / 1.563 GB, free: 13.88 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.5665, allocations: 12 kB / 1.563 GB, free: 13.86 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.5665, allocations: 4 kB / 1.563 GB, free: 13.86 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.5665, allocations: 7.969 kB / 1.563 GB, free: 13.85 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00605/0.5725, allocations: 3.432 MB / 1.566 GB, free: 10.35 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5725, allocations: 0 / 1.566 GB, free: 10.35 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.5739, allocations: 315.5 kB / 1.567 GB, free: 10.04 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007145/0.5746, allocations: 184.1 kB / 1.567 GB, free: 9.848 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.5748, allocations: 39.97 kB / 1.567 GB, free: 9.809 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005747/0.5805, allocations: 6.818 MB / 1.573 GB, free: 2.406 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5805, allocations: 3.984 kB / 1.573 GB, free: 2.402 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/0.5842, allocations: 1.717 MB / 1.575 GB, free: 0.6523 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/0.5849, allocations: 326.6 kB / 1.575 GB, free: 340 kB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.5851, allocations: 35.94 kB / 1.576 GB, free: 304 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5861, allocations: 101.6 kB / 1.576 GB, free: 204 kB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.5864, allocations: 117.1 kB / 1.576 GB, free: 84 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.5865, allocations: 71.95 kB / 1.576 GB, free: 12 kB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008128/0.5873, allocations: 0.6064 MB / 1.576 GB, free: 15.39 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5873, allocations: 0 / 1.576 GB, free: 15.39 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001408/0.5887, allocations: 0.6078 MB / 1.577 GB, free: 14.79 MB / 1.279 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.005737/0.5945, allocations: 2.891 MB / 1.58 GB, free: 12.04 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003063/0.5975, allocations: 1.781 MB / 1.582 GB, free: 10.19 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.5975, allocations: 4.656 kB / 1.582 GB, free: 10.19 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.5994, allocations: 1.246 MB / 1.583 GB, free: 8.875 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.6015, allocations: 0.5237 MB / 1.583 GB, free: 8.375 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.6188, allocations: 10.06 MB / 1.593 GB, free: 14.14 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009577/0.6198, allocations: 1.3 MB / 1.594 GB, free: 12.81 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001424/0.6212, allocations: 442.4 kB / 1.595 GB, free: 12.37 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009324/0.6221, allocations: 0.6632 MB / 1.595 GB, free: 11.71 MB / 1.295 GB Notification: Performance of SimCode: time 7.31e-07/0.6221, allocations: 0 / 1.595 GB, free: 11.71 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5968/1.219, allocations: 39.14 MB / 1.634 GB, free: 270.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.95, allocations: 12.44 kB / 1.634 GB, free: 270.2 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.23745959700318]