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.001945/0.001945, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002514/0.002514, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.457/1.457, allocations: 230.6 MB / 256 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.124/3.124, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_12_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.002161/0.002161, allocations: 65.78 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 176.1 MB / 1.325 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008469/0.3405, allocations: 4.777 MB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1679/0.5084, allocations: 132.7 MB / 1.459 GB, free: 8.266 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007419/0.5091, allocations: 23.81 kB / 1.459 GB, free: 8.242 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006797/0.5098, allocations: 214.1 kB / 1.46 GB, free: 8.031 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.5117, allocations: 0.5943 MB / 1.46 GB, free: 7.438 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.5137, allocations: 0.8625 MB / 1.461 GB, free: 6.582 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.5155, allocations: 1.475 MB / 1.462 GB, free: 5.102 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000842/0.5164, allocations: 410.8 kB / 1.463 GB, free: 4.672 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009774/0.5173, allocations: 0.5334 MB / 1.463 GB, free: 4.137 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000809/0.5181, allocations: 493.6 kB / 1.464 GB, free: 3.652 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.5183, allocations: 120 kB / 1.464 GB, free: 3.535 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.5194, allocations: 499.6 kB / 1.464 GB, free: 3.047 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.5197, allocations: 315 kB / 1.465 GB, free: 2.738 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005228/0.5203, allocations: 497.5 kB / 1.465 GB, free: 2.25 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.5228, allocations: 1.751 MB / 1.467 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.5228, allocations: 0 / 1.467 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5228, allocations: 0 / 1.467 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.211e-05/0.5229, allocations: 4 kB / 1.467 GB, free: 500 kB / 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.003182/0.5261, allocations: 1.479 MB / 1.468 GB, free: 14.97 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.5261, allocations: 15.97 kB / 1.468 GB, free: 14.96 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.5263, allocations: 139.7 kB / 1.468 GB, free: 14.81 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.5277, allocations: 243.9 kB / 1.469 GB, free: 14.57 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.5292, allocations: 0.7291 MB / 1.469 GB, free: 13.81 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.5293, allocations: 66 kB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.5294, allocations: 87.94 kB / 1.47 GB, free: 13.66 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.5313, allocations: 1.208 MB / 1.471 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.5313, allocations: 8 kB / 1.471 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.734e-05/0.5314, allocations: 36 kB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.5315, allocations: 24 kB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.5334, allocations: 1.093 MB / 1.472 GB, free: 11.19 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.004563/0.538, allocations: 2.302 MB / 1.474 GB, free: 8.82 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.5396, allocations: 0.7966 MB / 1.475 GB, free: 8.016 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.5402, allocations: 297.2 kB / 1.475 GB, free: 7.723 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.5402, allocations: 24.62 kB / 1.475 GB, free: 7.699 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.5413, allocations: 0.6086 MB / 1.476 GB, free: 7.051 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 3.006e-06/0.5413, allocations: 0 / 1.476 GB, free: 7.051 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003428/0.5447, allocations: 1.18 MB / 1.477 GB, free: 5.863 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.5448, allocations: 192.9 kB / 1.477 GB, free: 5.633 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.5459, allocations: 0.6763 MB / 1.478 GB, free: 4.949 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.755e-05/0.546, allocations: 41.7 kB / 1.478 GB, free: 4.902 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.5464, allocations: 425.1 kB / 1.478 GB, free: 4.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.5467, allocations: 289.6 kB / 1.479 GB, free: 4.195 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.5469, allocations: 154.6 kB / 1.479 GB, free: 4.039 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.5472, allocations: 394.8 kB / 1.479 GB, free: 3.645 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.5477, allocations: 253.9 kB / 1.479 GB, free: 3.395 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/0.5484, allocations: 0.4951 MB / 1.48 GB, free: 2.84 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.5496, allocations: 0.6086 MB / 1.48 GB, free: 2.223 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5496, allocations: 4 kB / 1.48 GB, free: 2.219 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002029/0.5516, allocations: 0.8374 MB / 1.481 GB, free: 1.371 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5516, allocations: 4 kB / 1.481 GB, free: 1.367 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5517, allocations: 0 / 1.481 GB, free: 1.367 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.5522, allocations: 88.8 kB / 1.481 GB, free: 1.277 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.5529, allocations: 167.8 kB / 1.481 GB, free: 1.113 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.5552, allocations: 1.519 MB / 1.483 GB, free: 15.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007593/0.5559, allocations: 91.47 kB / 1.483 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.308e-05/0.556, allocations: 27.98 kB / 1.483 GB, free: 15.36 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.0005388/0.5565, allocations: 278.2 kB / 1.483 GB, free: 15.08 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.5568, allocations: 91.5 kB / 1.483 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.5594, allocations: 1.101 MB / 1.484 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5594, allocations: 8 kB / 1.484 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5594, allocations: 7.922 kB / 1.485 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5594, allocations: 3.984 kB / 1.485 GB, free: 13.85 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.5607, allocations: 0.782 MB / 1.485 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.5607, allocations: 0 / 1.485 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.5614, allocations: 159.8 kB / 1.485 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/0.5618, allocations: 68.8 kB / 1.485 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.5619, allocations: 27.97 kB / 1.486 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.564, allocations: 1.551 MB / 1.487 GB, free: 11.1 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.564, allocations: 0 / 1.487 GB, free: 11.1 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.567, allocations: 1.371 MB / 1.488 GB, free: 9.707 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/0.5676, allocations: 215 kB / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.5677, allocations: 20 kB / 1.489 GB, free: 9.477 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/0.5684, allocations: 64 kB / 1.489 GB, free: 9.414 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.5686, allocations: 76.84 kB / 1.489 GB, free: 9.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.5687, allocations: 35.98 kB / 1.489 GB, free: 9.305 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007536/0.5694, allocations: 491 kB / 1.489 GB, free: 8.828 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5694, allocations: 7.938 kB / 1.489 GB, free: 8.82 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009511/0.5704, allocations: 339.1 kB / 1.49 GB, free: 8.488 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.005183/0.5755, allocations: 2.471 MB / 1.492 GB, free: 6.195 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.5774, allocations: 0.7883 MB / 1.493 GB, free: 5.398 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.5774, allocations: 4 kB / 1.493 GB, free: 5.395 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.5784, allocations: 0.5004 MB / 1.493 GB, free: 4.883 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5798, allocations: 313.7 kB / 1.494 GB, free: 4.602 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.5921, allocations: 6.616 MB / 1.5 GB, free: 13.83 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.5926, allocations: 457.6 kB / 1.5 GB, free: 13.35 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008619/0.5935, allocations: 271.1 kB / 1.501 GB, free: 13.08 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006231/0.5941, allocations: 411.3 kB / 1.501 GB, free: 12.68 MB / 1.201 GB Notification: Performance of SimCode: time 8.02e-07/0.5941, allocations: 4 kB / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07167/0.6658, allocations: 24.25 MB / 1.525 GB, free: 4.746 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.09, allocations: 2.656 kB / 1.525 GB, free: 4.746 MB / 1.217 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 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.csv","/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: 21.90359378186986]