Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0008026/0.0008026, 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.0007912/0.0007912, 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.8582/0.8582, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.715/1.715, allocations: 389 MB / 0.633 GB, free: 12.72 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.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.368e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.004413/0.004427, allocations: 4.666 MB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5606/0.565, allocations: 132.8 MB / 1.134 GB, free: 14.79 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006196/0.5656, allocations: 24.84 kB / 1.134 GB, free: 14.78 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.5661, allocations: 209.8 kB / 1.134 GB, free: 14.64 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.5674, allocations: 0.579 MB / 1.135 GB, free: 14.3 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.5688, allocations: 0.887 MB / 1.136 GB, free: 13.84 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.5698, allocations: 1.512 MB / 1.137 GB, free: 13.04 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005316/0.5704, allocations: 403.4 kB / 1.137 GB, free: 12.81 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006733/0.571, allocations: 0.7641 MB / 1.138 GB, free: 12.45 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.5714, allocations: 423.1 kB / 1.139 GB, free: 12.29 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.5716, allocations: 125.4 kB / 1.139 GB, free: 12.29 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006522/0.5722, allocations: 0.4949 MB / 1.139 GB, free: 12.18 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.5724, allocations: 325 kB / 1.139 GB, free: 11.97 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.5727, allocations: 409.7 kB / 1.14 GB, free: 11.77 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.5744, allocations: 1.839 MB / 1.142 GB, free: 11 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5744, allocations: 3.938 kB / 1.142 GB, free: 11 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5744, allocations: 0 / 1.142 GB, free: 11 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.5744, allocations: 4 kB / 1.142 GB, free: 11 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001708/0.5761, allocations: 1.47 MB / 1.143 GB, free: 10.04 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.5761, allocations: 10.03 kB / 1.143 GB, free: 10.04 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.5763, allocations: 141.6 kB / 1.143 GB, free: 9.945 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007526/0.577, allocations: 244.4 kB / 1.143 GB, free: 9.871 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.5779, allocations: 0.7291 MB / 1.144 GB, free: 9.418 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.5779, allocations: 68.55 kB / 1.144 GB, free: 9.391 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.578, allocations: 96.69 kB / 1.144 GB, free: 9.355 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.5793, allocations: 1.212 MB / 1.145 GB, free: 8.602 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5793, allocations: 1.094 kB / 1.145 GB, free: 8.602 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.5794, allocations: 37.14 kB / 1.146 GB, free: 8.574 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.5794, allocations: 22.95 kB / 1.146 GB, free: 8.574 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.5808, allocations: 1.078 MB / 1.147 GB, free: 8.316 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.002921/0.5837, allocations: 2.414 MB / 1.149 GB, free: 6.906 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.5848, allocations: 0.8074 MB / 1.15 GB, free: 6.598 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.5852, allocations: 311.9 kB / 1.15 GB, free: 6.477 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.5852, allocations: 22.78 kB / 1.15 GB, free: 6.477 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000652/0.5859, allocations: 0.6202 MB / 1.151 GB, free: 6.125 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.264e-06/0.5859, allocations: 0 / 1.151 GB, free: 6.125 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.001913/0.5878, allocations: 1.183 MB / 1.152 GB, free: 5.703 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.5879, allocations: 201.5 kB / 1.152 GB, free: 5.48 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.5885, allocations: 0.6681 MB / 1.153 GB, free: 5.191 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.5885, allocations: 49.98 kB / 1.153 GB, free: 5.145 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.5888, allocations: 419.9 kB / 1.153 GB, free: 4.816 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.5889, allocations: 298.2 kB / 1.153 GB, free: 4.578 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.5891, allocations: 168.4 kB / 1.154 GB, free: 4.496 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5892, allocations: 398.5 kB / 1.154 GB, free: 4.145 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.5896, allocations: 277.9 kB / 1.154 GB, free: 4.047 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.5901, allocations: 0.51 MB / 1.155 GB, free: 3.695 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.5908, allocations: 0.6323 MB / 1.155 GB, free: 3.398 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5908, allocations: 2.094 kB / 1.155 GB, free: 3.398 MB / 1.01 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001267/0.5921, allocations: 0.8868 MB / 1.156 GB, free: 3.043 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5921, allocations: 10.48 kB / 1.156 GB, free: 3.039 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5921, allocations: 1.469 kB / 1.156 GB, free: 3.039 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/0.5924, allocations: 79.17 kB / 1.156 GB, free: 3.023 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.5928, allocations: 170.8 kB / 1.156 GB, free: 3.004 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.594, allocations: 1.515 MB / 1.158 GB, free: 1.602 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.5944, allocations: 100.7 kB / 1.158 GB, free: 1.547 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.5944, allocations: 35.33 kB / 1.158 GB, free: 1.539 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 (102): * Single equations (assignments): 101 * 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.0002715/0.5947, allocations: 280.6 kB / 1.158 GB, free: 1.328 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5948, allocations: 96.89 kB / 1.158 GB, free: 1.277 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.5963, allocations: 1.094 MB / 1.159 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5963, allocations: 10.44 kB / 1.159 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.5963, allocations: 6.844 kB / 1.16 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5963, allocations: 6.562 kB / 1.16 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.5987, allocations: 2.037 MB / 1.161 GB, free: 15.85 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5987, allocations: 0 / 1.161 GB, free: 15.85 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.599, allocations: 152.7 kB / 1.162 GB, free: 15.84 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.5992, allocations: 73.97 kB / 1.162 GB, free: 15.82 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.5992, allocations: 25.67 kB / 1.162 GB, free: 15.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.6003, allocations: 1.56 MB / 1.163 GB, free: 14.38 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6003, allocations: 0 / 1.163 GB, free: 14.38 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.602, allocations: 1.454 MB / 1.165 GB, free: 13.73 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.6023, allocations: 205.5 kB / 1.165 GB, free: 13.61 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.746e-05/0.6024, allocations: 23.45 kB / 1.165 GB, free: 13.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.6027, allocations: 66.22 kB / 1.165 GB, free: 13.58 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6028, allocations: 78.62 kB / 1.165 GB, free: 13.57 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.6029, allocations: 42.42 kB / 1.165 GB, free: 13.56 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005722/0.6035, allocations: 485.3 kB / 1.166 GB, free: 13.35 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.6035, allocations: 0 / 1.166 GB, free: 13.35 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008281/0.6043, allocations: 336.8 kB / 1.166 GB, free: 13.26 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 (100): * Single equations (assignments): 89 * 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.002852/0.6071, allocations: 2.562 MB / 1.168 GB, free: 11.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.6082, allocations: 0.8158 MB / 1.169 GB, free: 11.57 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6082, allocations: 1.375 kB / 1.169 GB, free: 11.57 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.6088, allocations: 0.5174 MB / 1.17 GB, free: 11.31 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.6096, allocations: 307.3 kB / 1.17 GB, free: 11.21 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007248/0.6168, allocations: 6.729 MB / 1.177 GB, free: 7.785 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.6172, allocations: 454 kB / 1.177 GB, free: 7.656 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0006283/0.6178, allocations: 277.6 kB / 1.177 GB, free: 7.574 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.6182, allocations: 408.9 kB / 1.178 GB, free: 7.293 MB / 1.026 GB Notification: Performance of SimCode: time 5.51e-07/0.6182, allocations: 1.188 kB / 1.178 GB, free: 7.293 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.6537, allocations: 24.61 MB / 1.202 GB, free: 13.16 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.91/9.564, allocations: 5.812 kB / 1.202 GB, free: 13.16 MB / 1.042 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_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_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.818244338035583]