Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001205/0.001205, 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.001385/0.001385, 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.863/0.863, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.734/1.734, allocations: 389 MB / 0.633 GB, free: 12.71 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.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.203e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006342/0.006364, allocations: 4.766 MB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.56/0.5664, allocations: 132.8 MB / 1.134 GB, free: 14.63 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007038/0.5671, allocations: 24.94 kB / 1.134 GB, free: 14.62 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.5676, allocations: 210.5 kB / 1.134 GB, free: 14.48 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.569, allocations: 0.5955 MB / 1.135 GB, free: 14.13 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.5706, allocations: 0.8916 MB / 1.136 GB, free: 13.66 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.5722, allocations: 1.541 MB / 1.137 GB, free: 12.84 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006959/0.5729, allocations: 414.5 kB / 1.138 GB, free: 12.61 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.5741, allocations: 0.7802 MB / 1.138 GB, free: 12.25 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006147/0.5747, allocations: 426.8 kB / 1.139 GB, free: 12.09 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.5748, allocations: 127.7 kB / 1.139 GB, free: 12.09 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008882/0.5757, allocations: 0.501 MB / 1.139 GB, free: 11.98 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.576, allocations: 327.7 kB / 1.14 GB, free: 11.77 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.5764, allocations: 419 kB / 1.14 GB, free: 11.56 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.5785, allocations: 1.869 MB / 1.142 GB, free: 10.78 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5785, allocations: 0.7969 kB / 1.142 GB, free: 10.78 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5785, allocations: 3.938 kB / 1.142 GB, free: 10.78 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.312e-05/0.5785, allocations: 1.344 kB / 1.142 GB, free: 10.78 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002427/0.581, allocations: 1.491 MB / 1.143 GB, free: 9.812 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.581, allocations: 14.28 kB / 1.143 GB, free: 9.809 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.5812, allocations: 141.7 kB / 1.143 GB, free: 9.715 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.582, allocations: 247 kB / 1.144 GB, free: 9.637 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5831, allocations: 0.7429 MB / 1.144 GB, free: 9.172 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/0.5831, allocations: 73.72 kB / 1.145 GB, free: 9.137 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-05/0.5832, allocations: 98.44 kB / 1.145 GB, free: 9.102 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.5845, allocations: 1.222 MB / 1.146 GB, free: 8.352 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5846, allocations: 1.125 kB / 1.146 GB, free: 8.352 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.5846, allocations: 42.52 kB / 1.146 GB, free: 8.32 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.5846, allocations: 24.88 kB / 1.146 GB, free: 8.32 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.586, allocations: 1.092 MB / 1.147 GB, free: 8.055 MB / 1.01 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.003091/0.589, allocations: 2.446 MB / 1.149 GB, free: 6.645 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.5902, allocations: 0.841 MB / 1.15 GB, free: 6.316 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.5906, allocations: 323.3 kB / 1.15 GB, free: 6.188 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.5907, allocations: 27.25 kB / 1.15 GB, free: 6.184 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007337/0.5914, allocations: 0.6149 MB / 1.151 GB, free: 5.848 MB / 1.01 GB Notification: Performance of pre-optimization done (n=93): time 2.755e-06/0.5914, allocations: 0.8438 kB / 1.151 GB, free: 5.848 MB / 1.01 GB Notification: Performance of matching and sorting (n=93): time 0.002136/0.5935, allocations: 1.224 MB / 1.152 GB, free: 5.398 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.5936, allocations: 201 kB / 1.152 GB, free: 5.176 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/0.5944, allocations: 0.6792 MB / 1.153 GB, free: 4.879 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/0.5945, allocations: 53.61 kB / 1.153 GB, free: 4.828 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.5948, allocations: 424.9 kB / 1.154 GB, free: 4.496 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.595, allocations: 313 kB / 1.154 GB, free: 4.246 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.5951, allocations: 163.4 kB / 1.154 GB, free: 4.176 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5953, allocations: 407.6 kB / 1.154 GB, free: 3.816 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.5957, allocations: 276.7 kB / 1.155 GB, free: 3.719 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.5962, allocations: 0.523 MB / 1.155 GB, free: 3.363 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.5969, allocations: 0.6458 MB / 1.156 GB, free: 3.062 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.597, allocations: 1.156 kB / 1.156 GB, free: 3.062 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001339/0.5983, allocations: 0.9109 MB / 1.157 GB, free: 2.691 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5983, allocations: 7.266 kB / 1.157 GB, free: 2.691 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5983, allocations: 1.219 kB / 1.157 GB, free: 2.691 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.5986, allocations: 83.92 kB / 1.157 GB, free: 2.672 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.599, allocations: 182.8 kB / 1.157 GB, free: 2.645 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.6003, allocations: 1.507 MB / 1.158 GB, free: 1.254 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.6008, allocations: 105.4 kB / 1.159 GB, free: 1.195 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.6009, allocations: 36.27 kB / 1.159 GB, free: 1.188 MB / 1.01 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 (105): * Single equations (assignments): 104 * 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.0004155/0.6013, allocations: 285.2 kB / 1.159 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.6014, allocations: 96.3 kB / 1.159 GB, free: 0.9219 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.603, allocations: 1.124 MB / 1.16 GB, free: 496 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.603, allocations: 11.38 kB / 1.16 GB, free: 496 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.603, allocations: 0 / 1.16 GB, free: 496 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.603, allocations: 10.67 kB / 1.16 GB, free: 492 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.6056, allocations: 2.063 MB / 1.162 GB, free: 15.48 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6056, allocations: 4 kB / 1.162 GB, free: 15.47 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.606, allocations: 157.1 kB / 1.162 GB, free: 15.46 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.6063, allocations: 77.67 kB / 1.162 GB, free: 15.44 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.6063, allocations: 30.36 kB / 1.162 GB, free: 15.43 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.6075, allocations: 1.557 MB / 1.164 GB, free: 14 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6075, allocations: 3.938 kB / 1.164 GB, free: 14 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.6093, allocations: 1.484 MB / 1.165 GB, free: 13.34 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.6097, allocations: 214.5 kB / 1.166 GB, free: 13.21 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/0.6098, allocations: 24.66 kB / 1.166 GB, free: 13.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.6101, allocations: 63.78 kB / 1.166 GB, free: 13.19 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.6103, allocations: 80.64 kB / 1.166 GB, free: 13.17 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.6103, allocations: 33.02 kB / 1.166 GB, free: 13.17 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005222/0.6109, allocations: 499.1 kB / 1.166 GB, free: 12.95 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.6109, allocations: 0 / 1.166 GB, free: 12.95 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0009028/0.6118, allocations: 344.1 kB / 1.167 GB, free: 12.86 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (103): * Single equations (assignments): 92 * 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.003081/0.6148, allocations: 2.583 MB / 1.169 GB, free: 11.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.6161, allocations: 0.8426 MB / 1.17 GB, free: 11.15 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6161, allocations: 1.25 kB / 1.17 GB, free: 11.15 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.6168, allocations: 0.5136 MB / 1.17 GB, free: 10.91 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.6178, allocations: 316.5 kB / 1.171 GB, free: 10.8 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009291/0.6271, allocations: 6.921 MB / 1.177 GB, free: 7.312 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.6276, allocations: 462.5 kB / 1.178 GB, free: 7.188 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0007765/0.6284, allocations: 275.5 kB / 1.178 GB, free: 7.109 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/0.629, allocations: 423.6 kB / 1.179 GB, free: 6.816 MB / 1.026 GB Notification: Performance of SimCode: time 1.653e-06/0.629, allocations: 1.281 kB / 1.179 GB, free: 6.816 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.6677, allocations: 24.96 MB / 1.203 GB, free: 11.89 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.194/9.861, allocations: 14.8 kB / 1.203 GB, free: 11.89 MB / 1.042 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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: 14.142853341065347]