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.0007665/0.0007665, 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.0007334/0.0007334, allocations: 169.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.8383/0.8383, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.667/1.667, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.856e-05, allocations: 5.234 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5335/0.5335, allocations: 148.2 MB / 1.126 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.5488, allocations: 15.9 MB / 1.141 GB, free: 2.242 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.5504, allocations: 41.72 kB / 1.141 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.5521, allocations: 0.544 MB / 1.142 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.5564, allocations: 1.713 MB / 1.143 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.5592, allocations: 1.372 MB / 1.145 GB, free: 148 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003437/0.5627, allocations: 2.802 MB / 1.148 GB, free: 14.7 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.5648, allocations: 1.529 MB / 1.149 GB, free: 13.89 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003869/0.5687, allocations: 1.925 MB / 1.151 GB, free: 13.06 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.5699, allocations: 0.7976 MB / 1.152 GB, free: 12.77 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004657/0.5704, allocations: 215.4 kB / 1.152 GB, free: 12.77 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.573, allocations: 1.311 MB / 1.153 GB, free: 12.38 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004827/0.5735, allocations: 0.5891 MB / 1.154 GB, free: 12.01 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009897/0.5745, allocations: 0.731 MB / 1.154 GB, free: 11.66 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004777/0.5792, allocations: 3.354 MB / 1.158 GB, free: 10.35 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5792, allocations: 1.844 kB / 1.158 GB, free: 10.35 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5792, allocations: 0 / 1.158 GB, free: 10.35 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.899e-05/0.5793, allocations: 4 kB / 1.158 GB, free: 10.34 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004137/0.5835, allocations: 2.306 MB / 1.16 GB, free: 8.91 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.5835, allocations: 10.41 kB / 1.16 GB, free: 8.91 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002911/0.5838, allocations: 252.7 kB / 1.16 GB, free: 8.754 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/0.5863, allocations: 0.5724 MB / 1.161 GB, free: 8.621 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.5884, allocations: 1.069 MB / 1.162 GB, free: 7.996 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/0.5885, allocations: 136.3 kB / 1.162 GB, free: 7.934 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.5887, allocations: 172.9 kB / 1.162 GB, free: 7.879 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.5918, allocations: 2.619 MB / 1.165 GB, free: 6.18 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.5918, allocations: 1.094 kB / 1.165 GB, free: 6.18 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.5919, allocations: 79.27 kB / 1.165 GB, free: 6.121 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.592, allocations: 42.59 kB / 1.165 GB, free: 6.121 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.5946, allocations: 1.832 MB / 1.167 GB, free: 5.613 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006644/0.6013, allocations: 4.173 MB / 1.171 GB, free: 3.402 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.6034, allocations: 1.415 MB / 1.172 GB, free: 2.875 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.6042, allocations: 0.605 MB / 1.173 GB, free: 2.648 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/0.6048, allocations: 178.8 kB / 1.173 GB, free: 2.621 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/0.6062, allocations: 1.515 MB / 1.174 GB, free: 1.527 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 5.29e-06/0.6062, allocations: 0 / 1.174 GB, free: 1.527 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.004257/0.6104, allocations: 2.229 MB / 1.176 GB, free: 0.7266 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.6105, allocations: 206.8 kB / 1.177 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.6118, allocations: 0.8651 MB / 1.178 GB, free: 136 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002817/0.6121, allocations: 67.3 kB / 1.178 GB, free: 76 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.6126, allocations: 0.6676 MB / 1.178 GB, free: 15.55 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.000405/0.613, allocations: 0.5111 MB / 1.179 GB, free: 15.13 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/0.6134, allocations: 255.8 kB / 1.179 GB, free: 15.02 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6135, allocations: 365.3 kB / 1.179 GB, free: 14.69 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007831/0.6143, allocations: 0.493 MB / 1.18 GB, free: 14.51 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009317/0.6152, allocations: 0.9009 MB / 1.181 GB, free: 13.9 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.6168, allocations: 1.147 MB / 1.182 GB, free: 13.38 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6168, allocations: 1.281 kB / 1.182 GB, free: 13.38 MB / 1.026 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002523/0.6193, allocations: 1.587 MB / 1.183 GB, free: 12.73 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6193, allocations: 5.312 kB / 1.183 GB, free: 12.73 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6193, allocations: 5.156 kB / 1.183 GB, free: 12.73 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/0.6198, allocations: 191.8 kB / 1.184 GB, free: 12.66 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.6207, allocations: 337.2 kB / 1.184 GB, free: 12.63 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/0.6244, allocations: 6.743 MB / 1.19 GB, free: 6.051 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.6255, allocations: 155.5 kB / 1.191 GB, free: 5.965 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.6256, allocations: 58.47 kB / 1.191 GB, free: 5.949 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (161): * Single equations (assignments): 156 * 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.0008444/0.6264, allocations: 400.2 kB / 1.191 GB, free: 5.668 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.6268, allocations: 143.6 kB / 1.191 GB, free: 5.594 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.6294, allocations: 1.891 MB / 1.193 GB, free: 4.805 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.6294, allocations: 16.5 kB / 1.193 GB, free: 4.805 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.6294, allocations: 1.375 kB / 1.193 GB, free: 4.805 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.6295, allocations: 10.42 kB / 1.193 GB, free: 4.805 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.634, allocations: 3.433 MB / 1.196 GB, free: 3.215 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.634, allocations: 0 / 1.196 GB, free: 3.215 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.6347, allocations: 320.9 kB / 1.197 GB, free: 3.145 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/0.6351, allocations: 189.1 kB / 1.197 GB, free: 3.031 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.6352, allocations: 45.98 kB / 1.197 GB, free: 2.996 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/0.6387, allocations: 6.767 MB / 1.204 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6387, allocations: 0 / 1.204 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.6412, allocations: 1.773 MB / 1.205 GB, free: 11.24 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/0.6418, allocations: 337.4 kB / 1.206 GB, free: 10.99 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.6419, allocations: 42.42 kB / 1.206 GB, free: 10.96 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.6425, allocations: 105.1 kB / 1.206 GB, free: 10.9 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.6427, allocations: 120 kB / 1.206 GB, free: 10.83 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.6428, allocations: 77.66 kB / 1.206 GB, free: 10.8 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000616/0.6435, allocations: 0.5942 MB / 1.206 GB, free: 10.45 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6435, allocations: 3 kB / 1.207 GB, free: 10.45 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001485/0.6449, allocations: 0.6178 MB / 1.207 GB, free: 10.27 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003697/0.6486, allocations: 3.005 MB / 1.21 GB, free: 8.492 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.6508, allocations: 1.851 MB / 1.212 GB, free: 7.309 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6508, allocations: 4.594 kB / 1.212 GB, free: 7.305 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.6519, allocations: 1.263 MB / 1.213 GB, free: 6.398 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.6534, allocations: 0.5311 MB / 1.214 GB, free: 6.113 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.6661, allocations: 10.34 MB / 1.224 GB, free: 15.82 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.6667, allocations: 0.7297 MB / 1.224 GB, free: 15.05 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001251/0.6679, allocations: 446.8 kB / 1.225 GB, free: 14.61 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/0.6686, allocations: 0.6799 MB / 1.225 GB, free: 13.93 MB / 1.057 GB Notification: Performance of SimCode: time 1.242e-06/0.6686, allocations: 0 / 1.225 GB, free: 13.93 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05814/0.7268, allocations: 41.6 MB / 1.266 GB, free: 4.965 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.817/9.543, allocations: 14.19 kB / 1.266 GB, free: 4.961 MB / 1.089 GB " [Timeout remaining time 290] (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/jenkins/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: 13.53173044603318]