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.001687/0.001687, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002623/0.002623, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.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.289/3.289, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.002102/0.002102, allocations: 70.19 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3505, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2144/0.5649, allocations: 169.7 MB / 1.519 GB, free: 14.05 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.5789, allocations: 8.061 MB / 1.526 GB, free: 5.965 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.5803, allocations: 43.62 kB / 1.527 GB, free: 5.922 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.5816, allocations: 420.9 kB / 1.527 GB, free: 5.508 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.5858, allocations: 1.376 MB / 1.528 GB, free: 4.129 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.589, allocations: 1.229 MB / 1.529 GB, free: 2.906 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003724/0.5928, allocations: 2.417 MB / 1.532 GB, free: 496 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.5946, allocations: 0.985 MB / 1.533 GB, free: 15.48 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.5964, allocations: 0.8992 MB / 1.534 GB, free: 14.57 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.5984, allocations: 0.8244 MB / 1.534 GB, free: 13.75 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.5988, allocations: 152 kB / 1.535 GB, free: 13.6 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.6017, allocations: 1.217 MB / 1.536 GB, free: 12.38 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006349/0.6024, allocations: 434.6 kB / 1.536 GB, free: 11.96 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.6036, allocations: 0.7929 MB / 1.537 GB, free: 11.16 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005356/0.6089, allocations: 2.471 MB / 1.539 GB, free: 8.68 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6089, allocations: 0 / 1.539 GB, free: 8.68 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6089, allocations: 0 / 1.539 GB, free: 8.68 MB / 1.232 GB Notification: Performance of Transformations before backend: time 7.905e-05/0.609, allocations: 0 / 1.539 GB, free: 8.68 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.004702/0.6137, allocations: 1.887 MB / 1.541 GB, free: 6.75 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.6138, allocations: 8.031 kB / 1.541 GB, free: 6.742 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/0.614, allocations: 172.9 kB / 1.541 GB, free: 6.562 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.6168, allocations: 374.6 kB / 1.542 GB, free: 6.195 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.619, allocations: 0.9512 MB / 1.543 GB, free: 5.207 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.298e-05/0.6191, allocations: 82.2 kB / 1.543 GB, free: 5.125 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.6192, allocations: 112 kB / 1.543 GB, free: 5.016 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.6216, allocations: 1.168 MB / 1.544 GB, free: 3.777 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.6216, allocations: 3.938 kB / 1.544 GB, free: 3.773 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.6217, allocations: 55.98 kB / 1.544 GB, free: 3.719 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.6217, allocations: 42.06 kB / 1.544 GB, free: 3.676 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.6241, allocations: 1.304 MB / 1.545 GB, free: 2.363 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.006882/0.6309, allocations: 3.837 MB / 1.549 GB, free: 14.31 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.6328, allocations: 0.9575 MB / 1.55 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.6335, allocations: 371.6 kB / 1.55 GB, free: 12.98 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-05/0.6336, allocations: 33.03 kB / 1.55 GB, free: 12.95 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.6347, allocations: 0.5874 MB / 1.551 GB, free: 12.34 MB / 1.248 GB Notification: Performance of pre-optimization done (n=102): time 2.916e-06/0.6347, allocations: 0 / 1.551 GB, free: 12.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=102): time 0.003886/0.6385, allocations: 1.375 MB / 1.552 GB, free: 10.96 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.6387, allocations: 192.9 kB / 1.553 GB, free: 10.73 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.64, allocations: 0.8586 MB / 1.553 GB, free: 9.844 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.6402, allocations: 49.7 kB / 1.553 GB, free: 9.789 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.6407, allocations: 0.544 MB / 1.554 GB, free: 9.238 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.641, allocations: 357 kB / 1.554 GB, free: 8.887 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.6413, allocations: 182.5 kB / 1.555 GB, free: 8.703 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6415, allocations: 341.9 kB / 1.555 GB, free: 8.363 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.6421, allocations: 321.8 kB / 1.555 GB, free: 8.047 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.6429, allocations: 471.6 kB / 1.556 GB, free: 7.543 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.6443, allocations: 0.7698 MB / 1.556 GB, free: 6.742 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6443, allocations: 3.938 kB / 1.556 GB, free: 6.738 MB / 1.248 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002465/0.6468, allocations: 1.037 MB / 1.557 GB, free: 5.691 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.6468, allocations: 12 kB / 1.557 GB, free: 5.68 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6468, allocations: 4 kB / 1.557 GB, free: 5.676 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/0.6475, allocations: 84.77 kB / 1.557 GB, free: 5.59 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.6484, allocations: 203.7 kB / 1.558 GB, free: 5.391 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.6507, allocations: 1.533 MB / 1.559 GB, free: 3.734 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.6518, allocations: 107.4 kB / 1.559 GB, free: 3.629 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.6519, allocations: 35.98 kB / 1.559 GB, free: 3.594 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.0006662/0.6526, allocations: 313.8 kB / 1.56 GB, free: 3.277 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.6529, allocations: 135.2 kB / 1.56 GB, free: 3.145 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.6558, allocations: 1.241 MB / 1.561 GB, free: 1.891 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.6558, allocations: 16 kB / 1.561 GB, free: 1.875 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.6558, allocations: 0 / 1.561 GB, free: 1.875 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.6558, allocations: 3.984 kB / 1.561 GB, free: 1.871 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.6577, allocations: 1.165 MB / 1.562 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.6577, allocations: 0 / 1.562 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/0.6587, allocations: 203.8 kB / 1.562 GB, free: 476 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005152/0.6592, allocations: 76.72 kB / 1.562 GB, free: 396 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.6593, allocations: 27.98 kB / 1.562 GB, free: 368 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.6615, allocations: 1.57 MB / 1.564 GB, free: 14.67 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6615, allocations: 0 / 1.564 GB, free: 14.67 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/0.665, allocations: 1.578 MB / 1.565 GB, free: 13.07 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008057/0.6658, allocations: 254.9 kB / 1.566 GB, free: 12.82 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.666, allocations: 32.05 kB / 1.566 GB, free: 12.79 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008866/0.6669, allocations: 67.94 kB / 1.566 GB, free: 12.72 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.6671, allocations: 80.83 kB / 1.566 GB, free: 12.64 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.004e-05/0.6672, allocations: 47.97 kB / 1.566 GB, free: 12.59 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009259/0.6681, allocations: 0.5983 MB / 1.566 GB, free: 11.98 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6681, allocations: 7.875 kB / 1.567 GB, free: 11.98 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001246/0.6694, allocations: 431 kB / 1.567 GB, free: 11.55 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.005639/0.675, allocations: 2.652 MB / 1.57 GB, free: 9.059 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.6772, allocations: 0.9292 MB / 1.57 GB, free: 8.113 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6772, allocations: 4.062 kB / 1.57 GB, free: 8.109 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.6784, allocations: 0.5665 MB / 1.571 GB, free: 7.535 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.6806, allocations: 495.5 kB / 1.571 GB, free: 7.07 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.6971, allocations: 8.331 MB / 1.58 GB, free: 14.56 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009419/0.698, allocations: 1.154 MB / 1.581 GB, free: 13.37 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001406/0.6994, allocations: 325.3 kB / 1.581 GB, free: 13.05 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008404/0.7003, allocations: 0.5188 MB / 1.582 GB, free: 12.53 MB / 1.279 GB Notification: Performance of SimCode: time 1.823e-06/0.7003, allocations: 0 / 1.582 GB, free: 12.53 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8308/1.531, allocations: 30.75 MB / 1.612 GB, free: 252.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.86, allocations: 2.234 kB / 1.612 GB, free: 252.7 MB / 1.295 GB " [Timeout remaining time 283] (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.03739865500029]