Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001528/0.001528, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002249/0.002249, allocations: 214.2 kB / 22.25 MB, free: 5.082 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 8.031 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.72/2.72, allocations: 476.7 MB / 0.7707 GB, free: 4.312 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.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",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.002236/0.002236, allocations: 68.16 kB / 1.117 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3423, allocations: 169.9 MB / 1.283 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008553/0.3508, allocations: 5.344 MB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1882/0.539, allocations: 154.2 MB / 1.439 GB, free: 3.676 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.5403, allocations: 23.81 kB / 1.439 GB, free: 3.652 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.5414, allocations: 218 kB / 1.439 GB, free: 3.438 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.5441, allocations: 0.5802 MB / 1.44 GB, free: 2.859 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.5471, allocations: 0.8869 MB / 1.441 GB, free: 1.977 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.5497, allocations: 1.486 MB / 1.442 GB, free: 496 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.5509, allocations: 438.7 kB / 1.443 GB, free: 32 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.5522, allocations: 0.5257 MB / 1.443 GB, free: 15.5 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.5533, allocations: 0.5367 MB / 1.444 GB, free: 14.96 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.5536, allocations: 124 kB / 1.444 GB, free: 14.84 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.5552, allocations: 0.5151 MB / 1.444 GB, free: 14.33 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.5556, allocations: 311 kB / 1.445 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009718/0.5566, allocations: 0.5985 MB / 1.445 GB, free: 13.42 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.5604, allocations: 1.751 MB / 1.447 GB, free: 11.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.5604, allocations: 0 / 1.447 GB, free: 11.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5604, allocations: 0 / 1.447 GB, free: 11.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.652e-05/0.5604, allocations: 0 / 1.447 GB, free: 11.66 MB / 1.154 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.00394/0.5644, allocations: 1.478 MB / 1.448 GB, free: 10.15 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.5644, allocations: 12.03 kB / 1.448 GB, free: 10.14 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/0.5646, allocations: 135.7 kB / 1.449 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.5662, allocations: 251.9 kB / 1.449 GB, free: 9.754 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.5679, allocations: 0.7335 MB / 1.449 GB, free: 8.992 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/0.5679, allocations: 66 kB / 1.45 GB, free: 8.926 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.5681, allocations: 87.94 kB / 1.45 GB, free: 8.84 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.5697, allocations: 0.9535 MB / 1.451 GB, free: 7.848 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.5697, allocations: 0 / 1.451 GB, free: 7.848 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/0.5698, allocations: 40 kB / 1.451 GB, free: 7.809 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.5698, allocations: 20 kB / 1.451 GB, free: 7.789 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.5718, allocations: 1.128 MB / 1.452 GB, free: 6.66 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.005446/0.5772, allocations: 2.752 MB / 1.454 GB, free: 3.793 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.5789, allocations: 0.8011 MB / 1.455 GB, free: 2.984 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.5795, allocations: 290.7 kB / 1.455 GB, free: 2.695 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.5796, allocations: 42.67 kB / 1.456 GB, free: 2.656 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009438/0.5806, allocations: 0.5042 MB / 1.456 GB, free: 2.133 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 2.986e-06/0.5806, allocations: 0 / 1.456 GB, free: 2.133 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.003537/0.5841, allocations: 1.172 MB / 1.457 GB, free: 0.957 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.5842, allocations: 196.9 kB / 1.457 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.5852, allocations: 0.6763 MB / 1.458 GB, free: 36 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.5854, allocations: 41.78 kB / 1.458 GB, free: 15.98 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.5858, allocations: 429 kB / 1.458 GB, free: 15.56 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.5861, allocations: 285.5 kB / 1.459 GB, free: 15.28 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.5863, allocations: 158.6 kB / 1.459 GB, free: 15.12 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.5865, allocations: 386.8 kB / 1.459 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.5871, allocations: 261.8 kB / 1.459 GB, free: 14.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.5877, allocations: 374.5 kB / 1.46 GB, free: 14.08 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.5889, allocations: 0.6008 MB / 1.46 GB, free: 13.47 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.5889, allocations: 4 kB / 1.46 GB, free: 13.46 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002111/0.591, allocations: 0.8413 MB / 1.461 GB, free: 12.62 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.591, allocations: 8.094 kB / 1.461 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5911, allocations: 4 kB / 1.461 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006523/0.5917, allocations: 80.77 kB / 1.461 GB, free: 12.52 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/0.5924, allocations: 163.8 kB / 1.461 GB, free: 12.36 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.5947, allocations: 1.538 MB / 1.463 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/0.5956, allocations: 91.47 kB / 1.463 GB, free: 10.61 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.5957, allocations: 27.98 kB / 1.463 GB, free: 10.59 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.0005903/0.5963, allocations: 269.6 kB / 1.463 GB, free: 10.31 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.5966, allocations: 95.44 kB / 1.463 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.5994, allocations: 1.106 MB / 1.465 GB, free: 9.105 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5994, allocations: 12 kB / 1.465 GB, free: 9.094 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5994, allocations: 0 / 1.465 GB, free: 9.094 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5994, allocations: 3.984 kB / 1.465 GB, free: 9.09 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.6009, allocations: 0.9223 MB / 1.465 GB, free: 8.121 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.6009, allocations: 3.938 kB / 1.465 GB, free: 8.117 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.6017, allocations: 155.8 kB / 1.466 GB, free: 7.965 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/0.6022, allocations: 76.72 kB / 1.466 GB, free: 7.887 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.6023, allocations: 27.92 kB / 1.466 GB, free: 7.859 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.6044, allocations: 1.559 MB / 1.467 GB, free: 6.18 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6044, allocations: 3.938 kB / 1.467 GB, free: 6.176 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/0.6076, allocations: 1.364 MB / 1.469 GB, free: 4.793 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.6083, allocations: 215 kB / 1.469 GB, free: 4.582 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.6085, allocations: 24.02 kB / 1.469 GB, free: 4.559 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.6092, allocations: 64 kB / 1.469 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.6094, allocations: 84.78 kB / 1.469 GB, free: 4.414 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/0.6095, allocations: 31.98 kB / 1.469 GB, free: 4.383 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007825/0.6103, allocations: 491 kB / 1.469 GB, free: 3.902 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6103, allocations: 0 / 1.469 GB, free: 3.902 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001062/0.6113, allocations: 335.2 kB / 1.47 GB, free: 3.574 MB / 1.17 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: 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 (96): * Single equations (assignments): 90 * 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.005563/0.6169, allocations: 2.432 MB / 1.472 GB, free: 1.293 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002089/0.619, allocations: 0.7962 MB / 1.473 GB, free: 496 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.619, allocations: 4 kB / 1.473 GB, free: 492 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.6202, allocations: 0.4925 MB / 1.473 GB, free: 15.97 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.6217, allocations: 306.4 kB / 1.474 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.6357, allocations: 6.617 MB / 1.48 GB, free: 8.926 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008608/0.6365, allocations: 1.045 MB / 1.481 GB, free: 7.855 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009994/0.6375, allocations: 275 kB / 1.481 GB, free: 7.582 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.6383, allocations: 415.2 kB / 1.482 GB, free: 7.176 MB / 1.186 GB Notification: Performance of SimCode: time 1.282e-06/0.6383, allocations: 4 kB / 1.482 GB, free: 7.172 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/0.7143, allocations: 23.25 MB / 1.505 GB, free: 168 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.77, allocations: 10.8 kB / 1.505 GB, free: 160 kB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.219717711908743]