Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001294/0.001294, 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.001427/0.001427, allocations: 219.6 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.03/3.03, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.00199/0.00199, allocations: 65.75 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3685, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00783/0.3763, allocations: 4.768 MB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1738/0.5501, allocations: 132.6 MB / 1.461 GB, free: 7.547 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009347/0.551, allocations: 23.81 kB / 1.461 GB, free: 7.523 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.5517, allocations: 210.1 kB / 1.461 GB, free: 7.316 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.5537, allocations: 0.5909 MB / 1.462 GB, free: 6.727 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.5559, allocations: 0.8711 MB / 1.462 GB, free: 5.863 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.5578, allocations: 1.482 MB / 1.464 GB, free: 4.375 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008175/0.5586, allocations: 427.5 kB / 1.464 GB, free: 3.934 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.5594, allocations: 0.5295 MB / 1.465 GB, free: 3.402 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007264/0.5601, allocations: 0.5367 MB / 1.465 GB, free: 2.863 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.5603, allocations: 120 kB / 1.465 GB, free: 2.746 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.5614, allocations: 0.4996 MB / 1.466 GB, free: 2.246 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.5617, allocations: 311 kB / 1.466 GB, free: 1.941 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.5622, allocations: 497.5 kB / 1.467 GB, free: 1.453 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.5648, allocations: 1.755 MB / 1.468 GB, free: 15.69 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5648, allocations: 0 / 1.468 GB, free: 15.69 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5648, allocations: 0 / 1.468 GB, free: 15.69 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.5648, allocations: 0 / 1.468 GB, free: 15.69 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.002997/0.5678, allocations: 1.482 MB / 1.47 GB, free: 14.18 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5679, allocations: 8.031 kB / 1.47 GB, free: 14.17 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.583e-05/0.5679, allocations: 26.19 kB / 1.47 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.5681, allocations: 143.7 kB / 1.47 GB, free: 13.99 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.5696, allocations: 244 kB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.5715, allocations: 0.7411 MB / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/0.5715, allocations: 69.94 kB / 1.471 GB, free: 12.91 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.5717, allocations: 84 kB / 1.471 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5738, allocations: 1.208 MB / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.5738, allocations: 0 / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-05/0.5739, allocations: 40 kB / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.5739, allocations: 27.98 kB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5758, allocations: 1.136 MB / 1.474 GB, free: 10.32 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.004162/0.5799, allocations: 2.298 MB / 1.476 GB, free: 7.953 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.5815, allocations: 0.8063 MB / 1.477 GB, free: 7.137 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/0.5821, allocations: 292.8 kB / 1.477 GB, free: 6.848 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.792e-05/0.5822, allocations: 24.62 kB / 1.477 GB, free: 6.824 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009949/0.5832, allocations: 0.6046 MB / 1.477 GB, free: 6.18 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.866e-06/0.5832, allocations: 0 / 1.477 GB, free: 6.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003331/0.5865, allocations: 1.176 MB / 1.479 GB, free: 4.996 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.5866, allocations: 192.9 kB / 1.479 GB, free: 4.766 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009784/0.5876, allocations: 0.6764 MB / 1.479 GB, free: 4.082 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.5877, allocations: 41.7 kB / 1.479 GB, free: 4.035 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.5881, allocations: 437 kB / 1.48 GB, free: 3.602 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.5884, allocations: 281.6 kB / 1.48 GB, free: 3.324 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.5886, allocations: 154.6 kB / 1.48 GB, free: 3.168 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.5888, allocations: 394.7 kB / 1.481 GB, free: 2.773 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/0.5893, allocations: 253.9 kB / 1.481 GB, free: 2.523 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.59, allocations: 0.4913 MB / 1.481 GB, free: 1.977 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.5912, allocations: 0.6086 MB / 1.482 GB, free: 1.359 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5912, allocations: 0 / 1.482 GB, free: 1.359 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002001/0.5932, allocations: 0.8452 MB / 1.483 GB, free: 0.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5932, allocations: 4 kB / 1.483 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5932, allocations: 4 kB / 1.483 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.5938, allocations: 80.88 kB / 1.483 GB, free: 420 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.5945, allocations: 159.8 kB / 1.483 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.5967, allocations: 1.526 MB / 1.485 GB, free: 14.61 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.5974, allocations: 101.4 kB / 1.485 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.5974, allocations: 43.84 kB / 1.485 GB, free: 14.47 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.0004429/0.5979, allocations: 266.2 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.5981, allocations: 87.44 kB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.6005, allocations: 1.098 MB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.6006, allocations: 12 kB / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.6006, allocations: 0 / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6006, allocations: 7.969 kB / 1.486 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.6016, allocations: 0.782 MB / 1.487 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.6016, allocations: 0 / 1.487 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.6023, allocations: 159.8 kB / 1.487 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.6027, allocations: 72.78 kB / 1.487 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/0.6028, allocations: 23.98 kB / 1.487 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.6048, allocations: 1.551 MB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6048, allocations: 3.938 kB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.6077, allocations: 1.376 MB / 1.49 GB, free: 8.828 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.6081, allocations: 211 kB / 1.49 GB, free: 8.621 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.6083, allocations: 23.94 kB / 1.49 GB, free: 8.598 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/0.6089, allocations: 59.92 kB / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.6091, allocations: 80.92 kB / 1.49 GB, free: 8.461 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/0.6091, allocations: 39.97 kB / 1.49 GB, free: 8.422 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006498/0.6098, allocations: 491 kB / 1.491 GB, free: 7.949 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6098, allocations: 0 / 1.491 GB, free: 7.949 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009152/0.6107, allocations: 331.1 kB / 1.491 GB, free: 7.625 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.004994/0.6157, allocations: 2.471 MB / 1.494 GB, free: 5.336 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.6174, allocations: 0.8001 MB / 1.494 GB, free: 4.523 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6174, allocations: 0 / 1.494 GB, free: 4.523 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.6184, allocations: 0.4963 MB / 1.495 GB, free: 4.016 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.6196, allocations: 306.4 kB / 1.495 GB, free: 3.73 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.631, allocations: 6.622 MB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.6314, allocations: 459.6 kB / 1.502 GB, free: 12.48 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009476/0.6324, allocations: 267 kB / 1.502 GB, free: 12.21 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/0.633, allocations: 415.3 kB / 1.503 GB, free: 11.81 MB / 1.201 GB Notification: Performance of SimCode: time 7.91e-07/0.633, allocations: 0 / 1.503 GB, free: 11.81 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06038/0.6934, allocations: 24.03 MB / 1.526 GB, free: 4.129 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.45, allocations: 17.61 kB / 1.526 GB, free: 4.121 MB / 1.217 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.202362269046716]