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.001933/0.001933, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002344/0.002344, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.789 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.363/3.363, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002063/0.002063, allocations: 64.97 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3498, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1941/0.5439, allocations: 146.3 MB / 1.506 GB, free: 11.21 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.559, allocations: 7.533 MB / 1.514 GB, free: 3.66 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.5607, allocations: 43.62 kB / 1.514 GB, free: 3.617 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.5623, allocations: 397 kB / 1.514 GB, free: 3.227 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004624/0.5669, allocations: 1.381 MB / 1.515 GB, free: 1.844 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.5703, allocations: 1.201 MB / 1.517 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003877/0.5742, allocations: 2.395 MB / 1.519 GB, free: 14.25 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.5761, allocations: 0.9565 MB / 1.52 GB, free: 13.27 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.5779, allocations: 0.8953 MB / 1.521 GB, free: 12.37 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.5799, allocations: 0.7568 MB / 1.521 GB, free: 11.61 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004318/0.5804, allocations: 159.9 kB / 1.522 GB, free: 11.46 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.5829, allocations: 1.014 MB / 1.523 GB, free: 10.44 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007255/0.5836, allocations: 450.5 kB / 1.523 GB, free: 10 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.5848, allocations: 0.6415 MB / 1.524 GB, free: 9.355 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004401/0.5892, allocations: 2.456 MB / 1.526 GB, free: 6.891 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5892, allocations: 3.938 kB / 1.526 GB, free: 6.887 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5892, allocations: 0 / 1.526 GB, free: 6.887 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.826e-05/0.5893, allocations: 0 / 1.526 GB, free: 6.887 MB / 1.217 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.004392/0.5936, allocations: 1.881 MB / 1.528 GB, free: 4.965 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.5937, allocations: 8.031 kB / 1.528 GB, free: 4.957 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002665/0.594, allocations: 172.9 kB / 1.528 GB, free: 4.777 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.5965, allocations: 378.6 kB / 1.528 GB, free: 4.406 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.5986, allocations: 0.9551 MB / 1.529 GB, free: 3.414 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.842e-05/0.5986, allocations: 82.2 kB / 1.529 GB, free: 3.332 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.5988, allocations: 112 kB / 1.53 GB, free: 3.223 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.6012, allocations: 1.527 MB / 1.531 GB, free: 1.539 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.6012, allocations: 3.938 kB / 1.531 GB, free: 1.535 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.6013, allocations: 48 kB / 1.531 GB, free: 1.488 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/0.6014, allocations: 49.98 kB / 1.531 GB, free: 1.438 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.6036, allocations: 1.261 MB / 1.532 GB, free: 172 kB / 1.217 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.005665/0.6093, allocations: 2.907 MB / 1.535 GB, free: 13.18 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.6112, allocations: 0.9413 MB / 1.536 GB, free: 12.24 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.6118, allocations: 367.7 kB / 1.536 GB, free: 11.88 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 8.314e-05/0.6119, allocations: 24.97 kB / 1.537 GB, free: 11.86 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.6131, allocations: 0.7883 MB / 1.537 GB, free: 11 MB / 1.232 GB Notification: Performance of pre-optimization done (n=102): time 3.055e-06/0.6131, allocations: 0 / 1.537 GB, free: 11 MB / 1.232 GB Notification: Performance of matching and sorting (n=102): time 0.00395/0.6171, allocations: 1.371 MB / 1.539 GB, free: 9.621 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.6172, allocations: 196.9 kB / 1.539 GB, free: 9.383 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.6188, allocations: 0.8625 MB / 1.54 GB, free: 8.496 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.6189, allocations: 45.7 kB / 1.54 GB, free: 8.445 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/0.6195, allocations: 0.5402 MB / 1.54 GB, free: 7.898 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/0.62, allocations: 357 kB / 1.541 GB, free: 7.547 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.6203, allocations: 182.6 kB / 1.541 GB, free: 7.363 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.6205, allocations: 349.8 kB / 1.541 GB, free: 7.016 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006509/0.6211, allocations: 317.8 kB / 1.541 GB, free: 6.707 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/0.6221, allocations: 0.5822 MB / 1.542 GB, free: 6.047 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.6235, allocations: 0.7776 MB / 1.543 GB, free: 5.242 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.6235, allocations: 0 / 1.543 GB, free: 5.242 MB / 1.232 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002478/0.626, allocations: 1.04 MB / 1.544 GB, free: 4.188 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.626, allocations: 4.281 kB / 1.544 GB, free: 4.184 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.626, allocations: 8 kB / 1.544 GB, free: 4.176 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/0.6267, allocations: 80.78 kB / 1.544 GB, free: 4.094 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.6275, allocations: 211.7 kB / 1.544 GB, free: 3.887 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.6297, allocations: 1.53 MB / 1.546 GB, free: 2.242 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.6308, allocations: 111.3 kB / 1.546 GB, free: 2.133 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.6309, allocations: 35.98 kB / 1.546 GB, free: 2.098 MB / 1.232 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.0006297/0.6315, allocations: 317.7 kB / 1.546 GB, free: 1.777 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.6318, allocations: 123.2 kB / 1.546 GB, free: 1.656 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.6345, allocations: 1.248 MB / 1.547 GB, free: 404 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.6345, allocations: 12 kB / 1.547 GB, free: 392 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6345, allocations: 0 / 1.547 GB, free: 392 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.6345, allocations: 7.969 kB / 1.547 GB, free: 384 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.6359, allocations: 0.9739 MB / 1.548 GB, free: 15.36 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6359, allocations: 4 kB / 1.548 GB, free: 15.36 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008627/0.6368, allocations: 203.8 kB / 1.548 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.6372, allocations: 76.72 kB / 1.549 GB, free: 15.08 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.6373, allocations: 27.98 kB / 1.549 GB, free: 15.05 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.6393, allocations: 1.547 MB / 1.55 GB, free: 13.38 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6393, allocations: 0 / 1.55 GB, free: 13.38 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.6424, allocations: 1.586 MB / 1.552 GB, free: 11.78 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006497/0.643, allocations: 258.8 kB / 1.552 GB, free: 11.52 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.6432, allocations: 24 kB / 1.552 GB, free: 11.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.644, allocations: 76.09 kB / 1.552 GB, free: 11.43 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.6442, allocations: 80.83 kB / 1.552 GB, free: 11.35 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.6443, allocations: 43.97 kB / 1.552 GB, free: 11.3 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009237/0.6452, allocations: 0.6061 MB / 1.553 GB, free: 10.69 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6452, allocations: 0 / 1.553 GB, free: 10.69 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001163/0.6464, allocations: 423 kB / 1.553 GB, free: 10.27 MB / 1.248 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.00554/0.6519, allocations: 2.686 MB / 1.556 GB, free: 7.762 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.654, allocations: 0.937 MB / 1.557 GB, free: 6.809 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.654, allocations: 4 kB / 1.557 GB, free: 6.805 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.6551, allocations: 0.5628 MB / 1.557 GB, free: 6.23 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.6571, allocations: 496.2 kB / 1.558 GB, free: 5.773 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.6716, allocations: 8.323 MB / 1.566 GB, free: 13.27 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.6723, allocations: 0.5701 MB / 1.566 GB, free: 12.66 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001194/0.6735, allocations: 337.2 kB / 1.567 GB, free: 12.33 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007704/0.6743, allocations: 0.5149 MB / 1.567 GB, free: 11.82 MB / 1.264 GB Notification: Performance of SimCode: time 1.253e-06/0.6743, allocations: 7.938 kB / 1.567 GB, free: 11.81 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08293/0.7572, allocations: 32.3 MB / 1.599 GB, free: 11.93 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.34, allocations: 10.33 kB / 1.599 GB, free: 11.93 MB / 1.295 GB " [Timeout remaining time 284] (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: 23.17635687580332]