Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001376/0.001376, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001722/0.001722, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.26/3.26, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002142/0.002142, allocations: 61.91 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3604, allocations: 179 MB / 1.345 GB, free: 100 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1972/0.5576, allocations: 146.2 MB / 1.488 GB, free: 13.31 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.5708, allocations: 7.514 MB / 1.495 GB, free: 5.77 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.5723, allocations: 43.62 kB / 1.495 GB, free: 5.727 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.5737, allocations: 404.9 kB / 1.496 GB, free: 5.328 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.578, allocations: 1.374 MB / 1.497 GB, free: 3.953 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.5812, allocations: 1.201 MB / 1.498 GB, free: 2.758 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003769/0.585, allocations: 2.41 MB / 1.501 GB, free: 348 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.5867, allocations: 0.9799 MB / 1.502 GB, free: 15.34 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.5885, allocations: 0.8914 MB / 1.503 GB, free: 14.45 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.5904, allocations: 0.8332 MB / 1.503 GB, free: 13.62 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.5908, allocations: 152 kB / 1.504 GB, free: 13.47 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.5933, allocations: 1.037 MB / 1.505 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006053/0.5939, allocations: 446.5 kB / 1.505 GB, free: 11.99 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000893/0.5948, allocations: 0.6454 MB / 1.506 GB, free: 11.34 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004167/0.5989, allocations: 2.452 MB / 1.508 GB, free: 8.883 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.599, allocations: 0 / 1.508 GB, free: 8.883 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.643e-06/0.599, allocations: 0 / 1.508 GB, free: 8.883 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.008e-05/0.599, allocations: 0 / 1.508 GB, free: 8.883 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004027/0.603, allocations: 1.887 MB / 1.51 GB, free: 6.949 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6031, allocations: 8.031 kB / 1.51 GB, free: 6.941 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.425e-05/0.6031, allocations: 30.2 kB / 1.51 GB, free: 6.91 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.6033, allocations: 169 kB / 1.51 GB, free: 6.734 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.606, allocations: 382.5 kB / 1.51 GB, free: 6.359 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.608, allocations: 0.9551 MB / 1.511 GB, free: 5.371 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/0.6081, allocations: 82.2 kB / 1.511 GB, free: 5.289 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.6083, allocations: 119.9 kB / 1.512 GB, free: 5.172 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.6109, allocations: 1.527 MB / 1.513 GB, free: 3.488 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.6109, allocations: 3.938 kB / 1.513 GB, free: 3.484 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.611, allocations: 47.94 kB / 1.513 GB, free: 3.438 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/0.6111, allocations: 38.12 kB / 1.513 GB, free: 3.398 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.6136, allocations: 1.308 MB / 1.514 GB, free: 2.082 MB / 1.201 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.006293/0.6199, allocations: 2.9 MB / 1.517 GB, free: 15.11 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.6219, allocations: 0.9364 MB / 1.518 GB, free: 14.16 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.6226, allocations: 379.6 kB / 1.518 GB, free: 13.79 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.6227, allocations: 20.98 kB / 1.518 GB, free: 13.77 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.6239, allocations: 0.7961 MB / 1.519 GB, free: 12.91 MB / 1.217 GB Notification: Performance of pre-optimization done (n=102): time 3.236e-06/0.6239, allocations: 0 / 1.519 GB, free: 12.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=102): time 0.004059/0.628, allocations: 1.367 MB / 1.521 GB, free: 11.53 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.6281, allocations: 192.9 kB / 1.521 GB, free: 11.3 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.6295, allocations: 0.8625 MB / 1.522 GB, free: 10.41 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.6297, allocations: 45.7 kB / 1.522 GB, free: 10.36 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005519/0.6302, allocations: 0.5402 MB / 1.522 GB, free: 9.812 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/0.6307, allocations: 361 kB / 1.523 GB, free: 9.457 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003372/0.631, allocations: 186.6 kB / 1.523 GB, free: 9.27 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.6312, allocations: 345.9 kB / 1.523 GB, free: 8.926 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.6319, allocations: 313.8 kB / 1.523 GB, free: 8.621 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/0.6329, allocations: 0.5861 MB / 1.524 GB, free: 7.957 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.6344, allocations: 0.7853 MB / 1.525 GB, free: 7.145 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6344, allocations: 0 / 1.525 GB, free: 7.145 MB / 1.217 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002759/0.6371, allocations: 1.028 MB / 1.526 GB, free: 6.105 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.6372, allocations: 8.281 kB / 1.526 GB, free: 6.098 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.6372, allocations: 4 kB / 1.526 GB, free: 6.094 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006542/0.6378, allocations: 88.7 kB / 1.526 GB, free: 6.004 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009358/0.6388, allocations: 211.7 kB / 1.526 GB, free: 5.797 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.6412, allocations: 1.515 MB / 1.527 GB, free: 4.16 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6424, allocations: 113.8 kB / 1.528 GB, free: 4.051 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.6425, allocations: 35.98 kB / 1.528 GB, free: 4.016 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0007144/0.6432, allocations: 321.7 kB / 1.528 GB, free: 3.691 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.6435, allocations: 119.2 kB / 1.528 GB, free: 3.574 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.6465, allocations: 1.248 MB / 1.529 GB, free: 2.312 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.6465, allocations: 12 kB / 1.529 GB, free: 2.301 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6465, allocations: 0 / 1.529 GB, free: 2.301 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.6465, allocations: 3.984 kB / 1.529 GB, free: 2.297 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.6483, allocations: 0.9854 MB / 1.53 GB, free: 1.27 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.6484, allocations: 0 / 1.53 GB, free: 1.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/0.6493, allocations: 203.7 kB / 1.53 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.6498, allocations: 72.78 kB / 1.53 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.65, allocations: 35.97 kB / 1.531 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.6522, allocations: 1.555 MB / 1.532 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6522, allocations: 0 / 1.532 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.6557, allocations: 1.579 MB / 1.534 GB, free: 13.69 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007501/0.6565, allocations: 258.8 kB / 1.534 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.6567, allocations: 28 kB / 1.534 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009175/0.6576, allocations: 67.92 kB / 1.534 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.6579, allocations: 88.83 kB / 1.534 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.658, allocations: 43.92 kB / 1.534 GB, free: 13.21 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009816/0.659, allocations: 0.6022 MB / 1.535 GB, free: 12.6 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.659, allocations: 0 / 1.535 GB, free: 12.6 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001371/0.6603, allocations: 427 kB / 1.535 GB, free: 12.18 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.006264/0.6666, allocations: 2.696 MB / 1.538 GB, free: 9.664 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002367/0.669, allocations: 0.9331 MB / 1.539 GB, free: 8.719 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.669, allocations: 0 / 1.539 GB, free: 8.719 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.6701, allocations: 0.5666 MB / 1.539 GB, free: 8.137 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.6724, allocations: 496.5 kB / 1.54 GB, free: 7.676 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.6872, allocations: 8.323 MB / 1.548 GB, free: 15.17 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.6879, allocations: 0.5715 MB / 1.548 GB, free: 14.57 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001224/0.6891, allocations: 329.2 kB / 1.549 GB, free: 14.25 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008522/0.69, allocations: 0.5227 MB / 1.549 GB, free: 13.73 MB / 1.248 GB Notification: Performance of SimCode: time 8.32e-07/0.69, allocations: 4 kB / 1.549 GB, free: 13.72 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08057/0.7705, allocations: 32.08 MB / 1.58 GB, free: 14.08 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/16.94, allocations: 8 kB / 1.58 GB, free: 14.07 MB / 1.279 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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: 24.32290950510651]