Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001578/0.001578, 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.001853/0.001853, allocations: 217.2 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.762/2.762, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_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.001977/0.001977, allocations: 66.31 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1797/0.5164, allocations: 146.2 MB / 1.427 GB, free: 7.926 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.529, allocations: 7.515 MB / 1.434 GB, free: 396 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.5307, allocations: 51.62 kB / 1.434 GB, free: 344 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.532, allocations: 401 kB / 1.435 GB, free: 15.94 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004316/0.5364, allocations: 1.372 MB / 1.436 GB, free: 14.57 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.5395, allocations: 1.209 MB / 1.437 GB, free: 13.36 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003542/0.543, allocations: 2.417 MB / 1.44 GB, free: 10.94 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.5447, allocations: 0.9799 MB / 1.44 GB, free: 9.941 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.5462, allocations: 0.8797 MB / 1.441 GB, free: 9.059 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.5478, allocations: 0.8147 MB / 1.442 GB, free: 8.242 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.5481, allocations: 152 kB / 1.442 GB, free: 8.094 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.5503, allocations: 1.033 MB / 1.443 GB, free: 7.059 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.5508, allocations: 446.5 kB / 1.444 GB, free: 6.621 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000746/0.5515, allocations: 0.6415 MB / 1.444 GB, free: 5.977 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00366/0.5552, allocations: 2.452 MB / 1.447 GB, free: 3.516 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5552, allocations: 0 / 1.447 GB, free: 3.516 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5552, allocations: 4 kB / 1.447 GB, free: 3.512 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.302e-05/0.5552, allocations: 4 kB / 1.447 GB, free: 3.508 MB / 1.139 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.003699/0.5589, allocations: 1.881 MB / 1.449 GB, free: 1.586 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5589, allocations: 8.031 kB / 1.449 GB, free: 1.578 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.213e-05/0.559, allocations: 30.2 kB / 1.449 GB, free: 1.547 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002237/0.5592, allocations: 172.9 kB / 1.449 GB, free: 1.367 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.5617, allocations: 374.6 kB / 1.449 GB, free: 1 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.5634, allocations: 0.959 MB / 1.45 GB, free: 4 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.301e-05/0.5635, allocations: 82.25 kB / 1.45 GB, free: 15.92 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.5637, allocations: 112 kB / 1.45 GB, free: 15.81 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.5659, allocations: 1.523 MB / 1.452 GB, free: 14.13 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.566, allocations: 0 / 1.452 GB, free: 14.13 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.5661, allocations: 51.94 kB / 1.452 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.5661, allocations: 42.06 kB / 1.452 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.5683, allocations: 1.312 MB / 1.453 GB, free: 12.72 MB / 1.154 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.005474/0.5738, allocations: 2.911 MB / 1.456 GB, free: 9.738 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.5755, allocations: 0.9392 MB / 1.457 GB, free: 8.797 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000638/0.5761, allocations: 368.3 kB / 1.457 GB, free: 8.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-05/0.5762, allocations: 28.98 kB / 1.457 GB, free: 8.402 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.5774, allocations: 0.7845 MB / 1.458 GB, free: 7.555 MB / 1.154 GB Notification: Performance of pre-optimization done (n=102): time 3.115e-06/0.5774, allocations: 0 / 1.458 GB, free: 7.555 MB / 1.154 GB Notification: Performance of matching and sorting (n=102): time 0.00373/0.5811, allocations: 1.371 MB / 1.459 GB, free: 6.172 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.5812, allocations: 200.9 kB / 1.46 GB, free: 5.934 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.5824, allocations: 0.8586 MB / 1.46 GB, free: 5.051 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.261e-05/0.5825, allocations: 53.64 kB / 1.46 GB, free: 4.992 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/0.583, allocations: 0.5402 MB / 1.461 GB, free: 4.445 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.5833, allocations: 353.1 kB / 1.461 GB, free: 4.098 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.5836, allocations: 186.6 kB / 1.461 GB, free: 3.91 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5838, allocations: 341.9 kB / 1.462 GB, free: 3.57 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/0.5844, allocations: 313.8 kB / 1.462 GB, free: 3.262 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/0.5852, allocations: 0.5977 MB / 1.463 GB, free: 2.59 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.5865, allocations: 0.7698 MB / 1.463 GB, free: 1.789 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5865, allocations: 8 kB / 1.463 GB, free: 1.781 MB / 1.154 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002307/0.5888, allocations: 1.036 MB / 1.464 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5889, allocations: 4 kB / 1.464 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5889, allocations: 4 kB / 1.464 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/0.5895, allocations: 84.98 kB / 1.465 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008296/0.5903, allocations: 207.7 kB / 1.465 GB, free: 452 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.5925, allocations: 1.526 MB / 1.466 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.5936, allocations: 109.8 kB / 1.466 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.5937, allocations: 39.97 kB / 1.466 GB, free: 14.65 MB / 1.17 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.0006668/0.5944, allocations: 317.6 kB / 1.467 GB, free: 14.33 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.5946, allocations: 119.2 kB / 1.467 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.5973, allocations: 1.248 MB / 1.468 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.5973, allocations: 12 kB / 1.468 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5973, allocations: 0 / 1.468 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.5974, allocations: 3.984 kB / 1.468 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.5988, allocations: 0.9813 MB / 1.469 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5988, allocations: 7.938 kB / 1.469 GB, free: 11.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/0.5997, allocations: 207.8 kB / 1.469 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.6002, allocations: 68.78 kB / 1.469 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-05/0.6002, allocations: 35.97 kB / 1.469 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.6022, allocations: 1.555 MB / 1.471 GB, free: 9.914 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6022, allocations: 0 / 1.471 GB, free: 9.914 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/0.6053, allocations: 1.578 MB / 1.472 GB, free: 8.32 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/0.6058, allocations: 254.9 kB / 1.473 GB, free: 8.07 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.606, allocations: 24 kB / 1.473 GB, free: 8.047 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008144/0.6068, allocations: 79.11 kB / 1.473 GB, free: 7.973 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.607, allocations: 84.83 kB / 1.473 GB, free: 7.887 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/0.6071, allocations: 39.98 kB / 1.473 GB, free: 7.848 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008388/0.6079, allocations: 0.6099 MB / 1.473 GB, free: 7.227 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6079, allocations: 0 / 1.473 GB, free: 7.227 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001056/0.609, allocations: 431 kB / 1.474 GB, free: 6.805 MB / 1.17 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.005331/0.6143, allocations: 2.684 MB / 1.476 GB, free: 4.297 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.6162, allocations: 0.9248 MB / 1.477 GB, free: 3.359 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6162, allocations: 4.562 kB / 1.477 GB, free: 3.355 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6173, allocations: 0.5665 MB / 1.478 GB, free: 2.777 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.6192, allocations: 0.4946 MB / 1.478 GB, free: 2.309 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.633, allocations: 8.318 MB / 1.486 GB, free: 9.812 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.6336, allocations: 0.5715 MB / 1.487 GB, free: 9.203 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001096/0.6347, allocations: 321.3 kB / 1.487 GB, free: 8.887 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.6355, allocations: 0.5266 MB / 1.488 GB, free: 8.359 MB / 1.186 GB Notification: Performance of SimCode: time 1.082e-06/0.6355, allocations: 3.938 kB / 1.488 GB, free: 8.355 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07565/0.7112, allocations: 32.09 MB / 1.519 GB, free: 8.777 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.1/18.82, allocations: 19.62 kB / 1.519 GB, free: 8.762 MB / 1.217 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 25.872361042071134]