Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001671/0.001671, 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.002134/0.002134, allocations: 215.9 kB / 22.25 MB, free: 4.852 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.801 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.032/3.032, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002125/0.002125, allocations: 71.61 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3126, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007737/0.3204, allocations: 4.676 MB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.4849, allocations: 132.7 MB / 1.459 GB, free: 8.473 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009361/0.4858, allocations: 19.88 kB / 1.459 GB, free: 8.453 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.4866, allocations: 210.1 kB / 1.459 GB, free: 8.246 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.4886, allocations: 0.5709 MB / 1.46 GB, free: 7.676 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.4909, allocations: 0.8701 MB / 1.461 GB, free: 6.812 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.4927, allocations: 1.447 MB / 1.462 GB, free: 5.359 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008888/0.4936, allocations: 410.2 kB / 1.463 GB, free: 4.934 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008947/0.4945, allocations: 0.5139 MB / 1.463 GB, free: 4.418 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007905/0.4953, allocations: 485.6 kB / 1.464 GB, free: 3.941 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.4955, allocations: 120 kB / 1.464 GB, free: 3.824 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.4966, allocations: 491.7 kB / 1.464 GB, free: 3.344 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003263/0.4969, allocations: 311 kB / 1.465 GB, free: 3.039 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005217/0.4975, allocations: 477.7 kB / 1.465 GB, free: 2.57 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.4998, allocations: 1.732 MB / 1.467 GB, free: 0.832 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4998, allocations: 0 / 1.467 GB, free: 0.832 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4998, allocations: 0 / 1.467 GB, free: 0.832 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.308e-05/0.4998, allocations: 0 / 1.467 GB, free: 0.832 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002871/0.5027, allocations: 1.462 MB / 1.468 GB, free: 15.34 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5028, allocations: 8.031 kB / 1.468 GB, free: 15.33 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.5029, allocations: 143.6 kB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.5043, allocations: 236 kB / 1.468 GB, free: 14.95 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.5059, allocations: 0.7219 MB / 1.469 GB, free: 14.2 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/0.506, allocations: 65.98 kB / 1.469 GB, free: 14.13 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.5062, allocations: 84 kB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.5081, allocations: 1.189 MB / 1.47 GB, free: 12.76 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.5081, allocations: 0 / 1.47 GB, free: 12.76 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.5082, allocations: 39.94 kB / 1.47 GB, free: 12.72 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.5083, allocations: 20 kB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.5102, allocations: 1.085 MB / 1.472 GB, free: 11.61 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.004349/0.5145, allocations: 2.259 MB / 1.474 GB, free: 9.285 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.5161, allocations: 0.7545 MB / 1.475 GB, free: 8.523 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/0.5166, allocations: 282.7 kB / 1.475 GB, free: 8.246 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.26e-05/0.5167, allocations: 28.62 kB / 1.475 GB, free: 8.219 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009874/0.5177, allocations: 0.5936 MB / 1.475 GB, free: 7.582 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/0.5177, allocations: 0 / 1.475 GB, free: 7.582 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.00335/0.521, allocations: 1.138 MB / 1.477 GB, free: 6.434 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.5212, allocations: 192.6 kB / 1.477 GB, free: 6.203 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5222, allocations: 0.6723 MB / 1.477 GB, free: 5.523 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.5223, allocations: 45.7 kB / 1.477 GB, free: 5.473 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.5227, allocations: 421 kB / 1.478 GB, free: 5.055 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.523, allocations: 281.6 kB / 1.478 GB, free: 4.777 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.5232, allocations: 142.6 kB / 1.478 GB, free: 4.633 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.5234, allocations: 394.7 kB / 1.479 GB, free: 4.238 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.524, allocations: 241.9 kB / 1.479 GB, free: 4 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.5247, allocations: 495.1 kB / 1.479 GB, free: 3.461 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.5258, allocations: 0.5955 MB / 1.48 GB, free: 2.859 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5258, allocations: 0 / 1.48 GB, free: 2.859 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002075/0.5279, allocations: 0.8256 MB / 1.481 GB, free: 2.02 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5279, allocations: 5.562 kB / 1.481 GB, free: 2.016 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.5279, allocations: 0 / 1.481 GB, free: 2.016 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.5285, allocations: 88.86 kB / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.5292, allocations: 155.7 kB / 1.481 GB, free: 1.773 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.5316, allocations: 1.531 MB / 1.482 GB, free: 124 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/0.5325, allocations: 101.4 kB / 1.482 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/0.5326, allocations: 28.03 kB / 1.483 GB, free: 15.99 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 (89): * Single equations (assignments): 88 * 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.0005512/0.5331, allocations: 262.2 kB / 1.483 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.5333, allocations: 91.42 kB / 1.483 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.5359, allocations: 1.082 MB / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5359, allocations: 8 kB / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5359, allocations: 0 / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.5359, allocations: 3.984 kB / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.5371, allocations: 0.7625 MB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5371, allocations: 0 / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.5378, allocations: 159.8 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.5382, allocations: 68.73 kB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.5383, allocations: 27.97 kB / 1.485 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.5403, allocations: 1.547 MB / 1.486 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5403, allocations: 4.062 kB / 1.486 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/0.5432, allocations: 1.34 MB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005824/0.5438, allocations: 207 kB / 1.488 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.544, allocations: 27.88 kB / 1.488 GB, free: 10.21 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.5446, allocations: 63.92 kB / 1.488 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.5448, allocations: 72.86 kB / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.5449, allocations: 35.98 kB / 1.488 GB, free: 10.04 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000713/0.5456, allocations: 487 kB / 1.489 GB, free: 9.57 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5456, allocations: 4.062 kB / 1.489 GB, free: 9.566 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009795/0.5466, allocations: 335.1 kB / 1.489 GB, free: 9.238 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 (93): * Single equations (assignments): 87 * 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.005189/0.5518, allocations: 2.433 MB / 1.491 GB, free: 6.988 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.5537, allocations: 0.7806 MB / 1.492 GB, free: 6.191 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5537, allocations: 4 kB / 1.492 GB, free: 6.188 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.5547, allocations: 496.2 kB / 1.493 GB, free: 5.695 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.5561, allocations: 310.8 kB / 1.493 GB, free: 5.41 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.568, allocations: 6.459 MB / 1.499 GB, free: 14.8 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.5684, allocations: 448.7 kB / 1.5 GB, free: 14.33 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009079/0.5694, allocations: 270.8 kB / 1.5 GB, free: 14.06 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000623/0.57, allocations: 411.3 kB / 1.5 GB, free: 13.66 MB / 1.201 GB Notification: Performance of SimCode: time 9.62e-07/0.57, allocations: 0 / 1.5 GB, free: 13.66 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06915/0.6391, allocations: 23.88 MB / 1.524 GB, free: 6.07 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/14.9, allocations: 11.44 kB / 1.524 GB, free: 6.062 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_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_SimpleHouse1.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.58061254536733]