Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.0007703/0.0007703, 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.0007515/0.0007515, 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.8444/0.8444, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.721/1.721, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.318e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.5472/0.5472, allocations: 155.3 MB / 1.151 GB, free: 2.652 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.5635, allocations: 14.76 MB / 1.166 GB, free: 8.711 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.5652, allocations: 39.12 kB / 1.166 GB, free: 8.691 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.5669, allocations: 0.5992 MB / 1.166 GB, free: 8.332 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.5713, allocations: 1.703 MB / 1.168 GB, free: 7.352 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003989/0.5753, allocations: 1.751 MB / 1.17 GB, free: 6.418 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.005244/0.5805, allocations: 3.001 MB / 1.173 GB, free: 4.898 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002531/0.583, allocations: 1.39 MB / 1.174 GB, free: 4.172 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005087/0.5881, allocations: 2.171 MB / 1.176 GB, free: 3.234 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.5901, allocations: 0.8692 MB / 1.177 GB, free: 2.926 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0007305/0.5909, allocations: 208.2 kB / 1.177 GB, free: 2.926 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.5939, allocations: 1.286 MB / 1.178 GB, free: 2.535 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0006693/0.5946, allocations: 0.6112 MB / 1.179 GB, free: 2.168 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.596, allocations: 0.7364 MB / 1.18 GB, free: 1.824 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.005278/0.6012, allocations: 3.287 MB / 1.183 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6013, allocations: 0 / 1.183 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6013, allocations: 0 / 1.183 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.354e-05/0.6013, allocations: 1.562 kB / 1.183 GB, free: 0.5391 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004453/0.6058, allocations: 2.324 MB / 1.185 GB, free: 15.1 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.6058, allocations: 10.66 kB / 1.185 GB, free: 15.1 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/0.6061, allocations: 242.7 kB / 1.185 GB, free: 14.95 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.6087, allocations: 0.607 MB / 1.186 GB, free: 14.81 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.6106, allocations: 1.105 MB / 1.187 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.513e-05/0.6107, allocations: 122.5 kB / 1.187 GB, free: 14.08 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.6109, allocations: 163.3 kB / 1.187 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.6137, allocations: 2.504 MB / 1.19 GB, free: 12.43 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.6138, allocations: 1.062 kB / 1.19 GB, free: 12.43 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.6139, allocations: 71.44 kB / 1.19 GB, free: 12.38 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.6139, allocations: 54.5 kB / 1.19 GB, free: 12.38 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.6164, allocations: 1.82 MB / 1.192 GB, free: 11.88 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00679/0.6232, allocations: 4.79 MB / 1.196 GB, free: 8.836 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.6254, allocations: 1.446 MB / 1.198 GB, free: 8.113 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007854/0.6262, allocations: 0.5918 MB / 1.198 GB, free: 7.805 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.6265, allocations: 78.88 kB / 1.199 GB, free: 7.781 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/0.6278, allocations: 1.36 MB / 1.2 GB, free: 6.641 MB / 1.042 GB Notification: Performance of pre-optimization done (n=134): time 3.778e-06/0.6278, allocations: 1.344 kB / 1.2 GB, free: 6.641 MB / 1.042 GB Notification: Performance of matching and sorting (n=134): time 0.003854/0.6316, allocations: 2.025 MB / 1.202 GB, free: 5.645 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.6317, allocations: 197.3 kB / 1.202 GB, free: 5.426 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.6328, allocations: 1.02 MB / 1.203 GB, free: 4.852 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.633, allocations: 61.11 kB / 1.203 GB, free: 4.797 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.6334, allocations: 0.6737 MB / 1.204 GB, free: 4.203 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.6338, allocations: 458.5 kB / 1.204 GB, free: 3.805 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.634, allocations: 237.7 kB / 1.204 GB, free: 3.66 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.6341, allocations: 353 kB / 1.205 GB, free: 3.32 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.6348, allocations: 0.4942 MB / 1.205 GB, free: 3.074 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008255/0.6356, allocations: 0.877 MB / 1.206 GB, free: 2.391 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.6374, allocations: 1.138 MB / 1.207 GB, free: 1.773 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.6374, allocations: 0 / 1.207 GB, free: 1.773 MB / 1.042 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002275/0.6397, allocations: 1.482 MB / 1.209 GB, free: 1.02 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.6397, allocations: 6.219 kB / 1.209 GB, free: 1.02 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6397, allocations: 6.375 kB / 1.209 GB, free: 1.016 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/0.6401, allocations: 89.08 kB / 1.209 GB, free: 0.9727 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.6408, allocations: 302.2 kB / 1.209 GB, free: 0.8984 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.6422, allocations: 1.533 MB / 1.21 GB, free: 15.43 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.6433, allocations: 163.5 kB / 1.211 GB, free: 15.32 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/0.6434, allocations: 50.22 kB / 1.211 GB, free: 15.3 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001027/0.6444, allocations: 383.2 kB / 1.211 GB, free: 15.02 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/0.6448, allocations: 148.7 kB / 1.211 GB, free: 14.95 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.6472, allocations: 1.741 MB / 1.213 GB, free: 13.97 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.6473, allocations: 17.38 kB / 1.213 GB, free: 13.96 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6473, allocations: 0 / 1.213 GB, free: 13.96 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.6473, allocations: 7.969 kB / 1.213 GB, free: 13.96 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/0.6519, allocations: 3.266 MB / 1.216 GB, free: 11.94 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6519, allocations: 0 / 1.216 GB, free: 11.94 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.6527, allocations: 284 kB / 1.216 GB, free: 11.88 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/0.6529, allocations: 77 kB / 1.216 GB, free: 11.84 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/0.653, allocations: 42.44 kB / 1.216 GB, free: 11.8 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.6542, allocations: 1.566 MB / 1.218 GB, free: 10.31 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6542, allocations: 2.469 kB / 1.218 GB, free: 10.31 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.6575, allocations: 2.393 MB / 1.22 GB, free: 9.023 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008162/0.6583, allocations: 345.2 kB / 1.221 GB, free: 8.766 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.6585, allocations: 34.34 kB / 1.221 GB, free: 8.742 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/0.6592, allocations: 105 kB / 1.221 GB, free: 8.641 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.6594, allocations: 101.1 kB / 1.221 GB, free: 8.539 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.089e-05/0.6595, allocations: 67.89 kB / 1.221 GB, free: 8.473 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0007513/0.6602, allocations: 0.7001 MB / 1.222 GB, free: 7.766 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.6602, allocations: 0 / 1.222 GB, free: 7.766 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001691/0.6619, allocations: 0.5611 MB / 1.222 GB, free: 7.203 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00479/0.6667, allocations: 3.581 MB / 1.226 GB, free: 3.809 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.6689, allocations: 1.353 MB / 1.227 GB, free: 2.441 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.6689, allocations: 4.5 kB / 1.227 GB, free: 2.438 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.6699, allocations: 0.7791 MB / 1.228 GB, free: 1.648 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.6718, allocations: 0.5616 MB / 1.228 GB, free: 1.102 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.6871, allocations: 10.73 MB / 1.239 GB, free: 6.188 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.6876, allocations: 0.7246 MB / 1.24 GB, free: 5.426 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001314/0.689, allocations: 451.2 kB / 1.24 GB, free: 4.98 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007645/0.6897, allocations: 0.6799 MB / 1.241 GB, free: 4.301 MB / 1.073 GB Notification: Performance of SimCode: time 1.292e-06/0.6897, allocations: 0 / 1.241 GB, free: 4.301 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05847/0.7482, allocations: 42.17 MB / 1.282 GB, free: 10.69 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/9.317, allocations: 3.094 kB / 1.282 GB, free: 10.69 MB / 1.12 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.372704362496734]