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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 104.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.057/3.057, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001898/0.001898, allocations: 63.88 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 173.9 MB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007365/0.3348, allocations: 5.263 MB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1723/0.5071, allocations: 151.1 MB / 1.457 GB, free: 4.52 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008606/0.508, allocations: 19.88 kB / 1.457 GB, free: 4.5 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.5087, allocations: 198.1 kB / 1.457 GB, free: 4.305 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.5109, allocations: 0.5708 MB / 1.457 GB, free: 3.734 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.5132, allocations: 0.8434 MB / 1.458 GB, free: 2.898 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.5153, allocations: 1.455 MB / 1.46 GB, free: 1.438 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009487/0.5163, allocations: 443.3 kB / 1.46 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.5171, allocations: 0.4983 MB / 1.461 GB, free: 488 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008388/0.518, allocations: 0.5251 MB / 1.461 GB, free: 15.95 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.5182, allocations: 124 kB / 1.461 GB, free: 15.83 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.5194, allocations: 499.5 kB / 1.462 GB, free: 15.34 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.5197, allocations: 303 kB / 1.462 GB, free: 15.04 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.5203, allocations: 0.5907 MB / 1.463 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.523, allocations: 1.697 MB / 1.464 GB, free: 12.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.523, allocations: 0 / 1.464 GB, free: 12.75 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.218e-06/0.523, allocations: 0 / 1.464 GB, free: 12.75 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.204e-05/0.523, allocations: 0 / 1.464 GB, free: 12.75 MB / 1.17 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.003709/0.5268, allocations: 1.534 MB / 1.466 GB, free: 11.16 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.799e-05/0.5268, allocations: 12.62 kB / 1.466 GB, free: 11.15 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002072/0.527, allocations: 139.7 kB / 1.466 GB, free: 11 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.5281, allocations: 196 kB / 1.466 GB, free: 10.81 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.5298, allocations: 0.794 MB / 1.467 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.987e-05/0.5299, allocations: 70 kB / 1.467 GB, free: 9.906 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.53, allocations: 84 kB / 1.467 GB, free: 9.824 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.5316, allocations: 0.9535 MB / 1.468 GB, free: 8.832 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.5317, allocations: 3.938 kB / 1.468 GB, free: 8.828 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.5318, allocations: 36 kB / 1.468 GB, free: 8.793 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.5318, allocations: 24 kB / 1.468 GB, free: 8.77 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.5336, allocations: 1.132 MB / 1.469 GB, free: 7.633 MB / 1.17 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.004404/0.538, allocations: 2.882 MB / 1.472 GB, free: 4.613 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.5396, allocations: 0.785 MB / 1.473 GB, free: 3.82 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.5401, allocations: 302.6 kB / 1.473 GB, free: 3.52 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.187e-05/0.5402, allocations: 38.73 kB / 1.473 GB, free: 3.484 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008682/0.5411, allocations: 0.5003 MB / 1.473 GB, free: 2.973 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.304e-06/0.5411, allocations: 0 / 1.473 GB, free: 2.973 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003214/0.5443, allocations: 1.247 MB / 1.475 GB, free: 1.699 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.5444, allocations: 196.9 kB / 1.475 GB, free: 1.461 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/0.5453, allocations: 0.6489 MB / 1.476 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.5453, allocations: 45.7 kB / 1.476 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.5457, allocations: 417.1 kB / 1.476 GB, free: 348 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.5459, allocations: 293.5 kB / 1.476 GB, free: 52 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.5462, allocations: 154.7 kB / 1.476 GB, free: 15.89 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5464, allocations: 390.7 kB / 1.477 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.5469, allocations: 257.9 kB / 1.477 GB, free: 15.25 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.5475, allocations: 374.5 kB / 1.477 GB, free: 14.86 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5486, allocations: 0.6048 MB / 1.478 GB, free: 14.24 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5486, allocations: 0 / 1.478 GB, free: 14.24 MB / 1.186 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001893/0.5505, allocations: 0.8413 MB / 1.479 GB, free: 13.39 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5505, allocations: 8 kB / 1.479 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5505, allocations: 0 / 1.479 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.5511, allocations: 84.86 kB / 1.479 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.5517, allocations: 167.7 kB / 1.479 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.554, allocations: 1.637 MB / 1.481 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006933/0.5547, allocations: 91.58 kB / 1.481 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.5548, allocations: 35.97 kB / 1.481 GB, free: 11.23 MB / 1.186 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.0004235/0.5552, allocations: 261.7 kB / 1.481 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.5554, allocations: 95.39 kB / 1.481 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.5578, allocations: 1.098 MB / 1.482 GB, free: 9.762 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.5578, allocations: 12 kB / 1.482 GB, free: 9.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5578, allocations: 0 / 1.482 GB, free: 9.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.5578, allocations: 7.984 kB / 1.482 GB, free: 9.742 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.559, allocations: 0.9423 MB / 1.483 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.559, allocations: 11.88 kB / 1.483 GB, free: 8.738 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.5596, allocations: 159.7 kB / 1.483 GB, free: 8.582 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00044/0.56, allocations: 72.78 kB / 1.483 GB, free: 8.508 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.5601, allocations: 23.98 kB / 1.483 GB, free: 8.484 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.5621, allocations: 1.65 MB / 1.485 GB, free: 6.688 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5621, allocations: 0 / 1.485 GB, free: 6.688 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.5648, allocations: 1.371 MB / 1.486 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.5653, allocations: 288.2 kB / 1.487 GB, free: 4.996 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.5654, allocations: 16 kB / 1.487 GB, free: 4.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.566, allocations: 71.98 kB / 1.487 GB, free: 4.91 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5662, allocations: 64.91 kB / 1.487 GB, free: 4.848 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-05/0.5662, allocations: 39.97 kB / 1.487 GB, free: 4.809 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000636/0.5669, allocations: 471 kB / 1.487 GB, free: 4.352 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5669, allocations: 0 / 1.487 GB, free: 4.352 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008516/0.5677, allocations: 343.1 kB / 1.488 GB, free: 4.016 MB / 1.186 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.004912/0.5726, allocations: 2.424 MB / 1.49 GB, free: 1.758 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.5744, allocations: 0.7962 MB / 1.491 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5744, allocations: 0 / 1.491 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009339/0.5753, allocations: 0.504 MB / 1.491 GB, free: 440 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5766, allocations: 301.2 kB / 1.491 GB, free: 156 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.5886, allocations: 6.542 MB / 1.498 GB, free: 9.453 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.5893, allocations: 1.041 MB / 1.499 GB, free: 8.387 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009407/0.5903, allocations: 263 kB / 1.499 GB, free: 8.125 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.5908, allocations: 403.3 kB / 1.499 GB, free: 7.73 MB / 1.201 GB Notification: Performance of SimCode: time 1.132e-06/0.5908, allocations: 8 kB / 1.5 GB, free: 7.723 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05865/0.6495, allocations: 22.39 MB / 1.521 GB, free: 1.594 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.68, allocations: 7.938 kB / 1.521 GB, free: 1.59 MB / 1.217 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 21.14997754106298]