Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001877/0.001877, allocations: 102.5 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.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.002063/0.002063, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.329/3.329, allocations: 0.505 GB / 0.8066 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002309/0.002309, allocations: 68.33 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3693, allocations: 180.2 MB / 1.348 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2041/0.5735, allocations: 169.6 MB / 1.513 GB, free: 15.75 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.5873, allocations: 7.937 MB / 1.521 GB, free: 7.789 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.589, allocations: 43.62 kB / 1.521 GB, free: 7.746 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.5902, allocations: 412.9 kB / 1.522 GB, free: 7.34 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.5942, allocations: 1.358 MB / 1.523 GB, free: 5.98 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.5972, allocations: 1.203 MB / 1.524 GB, free: 4.785 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003214/0.6004, allocations: 2.379 MB / 1.526 GB, free: 2.398 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.6021, allocations: 0.9833 MB / 1.527 GB, free: 1.391 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.6036, allocations: 0.8953 MB / 1.528 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.6051, allocations: 0.8129 MB / 1.529 GB, free: 15.68 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.6053, allocations: 152 kB / 1.529 GB, free: 15.53 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.6078, allocations: 1.205 MB / 1.53 GB, free: 14.32 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.6083, allocations: 442.6 kB / 1.531 GB, free: 13.89 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009422/0.6092, allocations: 0.789 MB / 1.532 GB, free: 13.09 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/0.6133, allocations: 2.464 MB / 1.534 GB, free: 10.62 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6133, allocations: 0 / 1.534 GB, free: 10.62 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6133, allocations: 4 kB / 1.534 GB, free: 10.62 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.6133, allocations: 0 / 1.534 GB, free: 10.62 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.005011/0.6183, allocations: 1.96 MB / 1.536 GB, free: 8.598 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.6184, allocations: 15.98 kB / 1.536 GB, free: 8.582 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003218/0.6187, allocations: 165 kB / 1.536 GB, free: 8.41 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003763/0.6225, allocations: 386.5 kB / 1.536 GB, free: 8.031 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.6247, allocations: 1.031 MB / 1.537 GB, free: 6.953 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.6248, allocations: 86.2 kB / 1.537 GB, free: 6.867 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.625, allocations: 116 kB / 1.538 GB, free: 6.754 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.628, allocations: 1.172 MB / 1.539 GB, free: 5.512 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.6281, allocations: 7.984 kB / 1.539 GB, free: 5.504 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.6282, allocations: 47.98 kB / 1.539 GB, free: 5.457 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.6282, allocations: 42.06 kB / 1.539 GB, free: 5.414 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.6316, allocations: 1.308 MB / 1.54 GB, free: 4.098 MB / 1.232 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.007185/0.6388, allocations: 3.891 MB / 1.544 GB, free: 15.97 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.6407, allocations: 0.9498 MB / 1.545 GB, free: 15.02 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/0.6414, allocations: 363.6 kB / 1.545 GB, free: 14.66 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 8.79e-05/0.6415, allocations: 36.94 kB / 1.545 GB, free: 14.63 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.6426, allocations: 0.5952 MB / 1.546 GB, free: 14.02 MB / 1.248 GB Notification: Performance of pre-optimization done (n=102): time 2.555e-06/0.6426, allocations: 0 / 1.546 GB, free: 14.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=102): time 0.003948/0.6465, allocations: 1.446 MB / 1.547 GB, free: 12.54 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.6467, allocations: 192.9 kB / 1.547 GB, free: 12.31 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.6481, allocations: 0.8587 MB / 1.548 GB, free: 11.43 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-05/0.6482, allocations: 45.7 kB / 1.548 GB, free: 11.38 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.6488, allocations: 0.5402 MB / 1.549 GB, free: 10.83 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.6492, allocations: 364.8 kB / 1.549 GB, free: 10.47 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.6495, allocations: 186.6 kB / 1.549 GB, free: 10.28 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6497, allocations: 341.9 kB / 1.55 GB, free: 9.941 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/0.6504, allocations: 313.8 kB / 1.55 GB, free: 9.637 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008579/0.6512, allocations: 473.8 kB / 1.55 GB, free: 9.129 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.6527, allocations: 0.7698 MB / 1.551 GB, free: 8.332 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6527, allocations: 7.938 kB / 1.551 GB, free: 8.324 MB / 1.248 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002617/0.6554, allocations: 1.04 MB / 1.552 GB, free: 7.27 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6554, allocations: 4 kB / 1.552 GB, free: 7.266 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6554, allocations: 4 kB / 1.552 GB, free: 7.262 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/0.656, allocations: 77 kB / 1.552 GB, free: 7.184 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.6569, allocations: 211.7 kB / 1.552 GB, free: 6.977 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.6593, allocations: 1.642 MB / 1.554 GB, free: 5.191 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.6604, allocations: 103.4 kB / 1.554 GB, free: 5.09 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/0.6605, allocations: 35.98 kB / 1.554 GB, free: 5.055 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0006764/0.6611, allocations: 321.7 kB / 1.554 GB, free: 4.73 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/0.6615, allocations: 123.2 kB / 1.555 GB, free: 4.609 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/0.6645, allocations: 1.245 MB / 1.556 GB, free: 3.348 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.6645, allocations: 12 kB / 1.556 GB, free: 3.336 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.6645, allocations: 4 kB / 1.556 GB, free: 3.332 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.6645, allocations: 3.984 kB / 1.556 GB, free: 3.328 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.6666, allocations: 1.189 MB / 1.557 GB, free: 2.09 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.6666, allocations: 0 / 1.557 GB, free: 2.09 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009108/0.6675, allocations: 211.7 kB / 1.557 GB, free: 1.883 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/0.668, allocations: 72.78 kB / 1.557 GB, free: 1.809 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.115e-05/0.6681, allocations: 31.97 kB / 1.557 GB, free: 1.777 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.6703, allocations: 1.65 MB / 1.559 GB, free: 15.98 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6703, allocations: 4.031 kB / 1.559 GB, free: 15.98 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.6737, allocations: 1.582 MB / 1.56 GB, free: 14.38 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006451/0.6743, allocations: 336 kB / 1.561 GB, free: 14.03 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.6745, allocations: 24 kB / 1.561 GB, free: 14 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/0.6755, allocations: 67.94 kB / 1.561 GB, free: 13.94 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.6757, allocations: 80.88 kB / 1.561 GB, free: 13.86 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.509e-05/0.6758, allocations: 44.03 kB / 1.561 GB, free: 13.82 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001036/0.6768, allocations: 0.6022 MB / 1.562 GB, free: 13.2 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6768, allocations: 7.938 kB / 1.562 GB, free: 13.2 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001472/0.6783, allocations: 434.9 kB / 1.562 GB, free: 12.77 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.005713/0.684, allocations: 2.663 MB / 1.565 GB, free: 10.26 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.6862, allocations: 0.9292 MB / 1.566 GB, free: 9.316 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6862, allocations: 0 / 1.566 GB, free: 9.316 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.6874, allocations: 0.5626 MB / 1.566 GB, free: 8.742 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/0.69, allocations: 0.4915 MB / 1.567 GB, free: 8.273 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.7069, allocations: 8.313 MB / 1.575 GB, free: 15.78 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.7081, allocations: 1.158 MB / 1.576 GB, free: 14.59 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001297/0.7094, allocations: 333.3 kB / 1.576 GB, free: 14.26 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000962/0.7103, allocations: 0.5149 MB / 1.577 GB, free: 13.75 MB / 1.279 GB Notification: Performance of SimCode: time 9.61e-07/0.7103, allocations: 3.938 kB / 1.577 GB, free: 13.74 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/0.8207, allocations: 30.04 MB / 1.606 GB, free: 12 kB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/16.87, allocations: 0 / 1.606 GB, free: 12 kB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv --start-time 0 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable zon.T in file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv. Warning: Get data of variable zon.T from file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.772430086042732]