Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00138/0.00138, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001503/0.001503, allocations: 216.3 kB / 22.25 MB, free: 5.129 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: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.663/2.663, allocations: 476.7 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SimpleHouse3,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_11_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.002057/0.002057, allocations: 67.27 kB / 1.117 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 170 MB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2063/0.5593, allocations: 169.7 MB / 1.449 GB, free: 1.211 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01347/0.5727, allocations: 8.042 MB / 1.457 GB, free: 9.141 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.5742, allocations: 47.62 kB / 1.457 GB, free: 9.094 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.5754, allocations: 424.9 kB / 1.457 GB, free: 8.676 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.5794, allocations: 1.367 MB / 1.459 GB, free: 7.305 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.5825, allocations: 1.234 MB / 1.46 GB, free: 6.078 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003471/0.5859, allocations: 2.414 MB / 1.462 GB, free: 3.656 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.5875, allocations: 0.9916 MB / 1.463 GB, free: 2.645 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.5889, allocations: 0.8641 MB / 1.464 GB, free: 1.777 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.5905, allocations: 0.8224 MB / 1.465 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.5907, allocations: 156 kB / 1.465 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.5932, allocations: 1.209 MB / 1.466 GB, free: 15.59 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000452/0.5937, allocations: 446.5 kB / 1.467 GB, free: 15.15 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008452/0.5945, allocations: 0.793 MB / 1.467 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003621/0.5981, allocations: 2.46 MB / 1.47 GB, free: 11.89 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5981, allocations: 4 kB / 1.47 GB, free: 11.88 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5981, allocations: 0 / 1.47 GB, free: 11.88 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.5982, allocations: 0 / 1.47 GB, free: 11.88 MB / 1.17 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.003717/0.6019, allocations: 1.891 MB / 1.472 GB, free: 9.949 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6019, allocations: 8.031 kB / 1.472 GB, free: 9.941 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002124/0.6021, allocations: 172.9 kB / 1.472 GB, free: 9.762 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.6045, allocations: 366.6 kB / 1.472 GB, free: 9.402 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.6063, allocations: 0.9629 MB / 1.473 GB, free: 8.402 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.6064, allocations: 82.2 kB / 1.473 GB, free: 8.32 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.6066, allocations: 111.9 kB / 1.473 GB, free: 8.211 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.6087, allocations: 1.18 MB / 1.475 GB, free: 6.961 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.6087, allocations: 0 / 1.475 GB, free: 6.961 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.6088, allocations: 51.94 kB / 1.475 GB, free: 6.91 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-05/0.6089, allocations: 42.06 kB / 1.475 GB, free: 6.867 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.6112, allocations: 1.308 MB / 1.476 GB, free: 5.551 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.006698/0.6179, allocations: 3.758 MB / 1.48 GB, free: 1.594 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.6197, allocations: 0.942 MB / 1.48 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/0.6204, allocations: 371.6 kB / 1.481 GB, free: 288 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.039e-05/0.6205, allocations: 33.03 kB / 1.481 GB, free: 256 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.6217, allocations: 0.5836 MB / 1.481 GB, free: 15.65 MB / 1.186 GB Notification: Performance of pre-optimization done (n=102): time 3.316e-06/0.6217, allocations: 3.938 kB / 1.481 GB, free: 15.64 MB / 1.186 GB Notification: Performance of matching and sorting (n=102): time 0.003952/0.6256, allocations: 1.375 MB / 1.483 GB, free: 14.26 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.6258, allocations: 192.9 kB / 1.483 GB, free: 14.03 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.6271, allocations: 0.8586 MB / 1.484 GB, free: 13.14 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-05/0.6272, allocations: 49.7 kB / 1.484 GB, free: 13.09 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005377/0.6277, allocations: 0.5402 MB / 1.484 GB, free: 12.54 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.6281, allocations: 356.9 kB / 1.485 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.6284, allocations: 182.5 kB / 1.485 GB, free: 12.01 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6285, allocations: 341.9 kB / 1.485 GB, free: 11.67 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.6292, allocations: 313.8 kB / 1.486 GB, free: 11.36 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.63, allocations: 479.6 kB / 1.486 GB, free: 10.85 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.6315, allocations: 0.7737 MB / 1.487 GB, free: 10.05 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.6315, allocations: 0 / 1.487 GB, free: 10.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002534/0.6341, allocations: 1.04 MB / 1.488 GB, free: 8.996 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6341, allocations: 8 kB / 1.488 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6341, allocations: 0 / 1.488 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/0.6347, allocations: 80.91 kB / 1.488 GB, free: 8.906 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.6356, allocations: 207.7 kB / 1.488 GB, free: 8.703 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.6379, allocations: 1.538 MB / 1.49 GB, free: 7.043 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.6389, allocations: 109.8 kB / 1.49 GB, free: 6.938 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.639, allocations: 39.98 kB / 1.49 GB, free: 6.898 MB / 1.186 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.0006672/0.6397, allocations: 321.6 kB / 1.49 GB, free: 6.574 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.64, allocations: 119.2 kB / 1.49 GB, free: 6.457 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.6427, allocations: 1.252 MB / 1.491 GB, free: 5.191 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.6427, allocations: 15.94 kB / 1.491 GB, free: 5.176 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6427, allocations: 0 / 1.491 GB, free: 5.176 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.6427, allocations: 3.984 kB / 1.491 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.6444, allocations: 1.161 MB / 1.492 GB, free: 3.969 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6444, allocations: 3.938 kB / 1.492 GB, free: 3.965 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008811/0.6452, allocations: 207.8 kB / 1.493 GB, free: 3.762 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/0.6457, allocations: 76.72 kB / 1.493 GB, free: 3.684 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/0.6458, allocations: 31.97 kB / 1.493 GB, free: 3.652 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.6479, allocations: 1.562 MB / 1.494 GB, free: 1.969 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6479, allocations: 0 / 1.494 GB, free: 1.969 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.6512, allocations: 1.582 MB / 1.496 GB, free: 376 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/0.6519, allocations: 250.9 kB / 1.496 GB, free: 124 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.6521, allocations: 23.98 kB / 1.496 GB, free: 100 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/0.6529, allocations: 71.94 kB / 1.496 GB, free: 28 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.6531, allocations: 80.83 kB / 1.496 GB, free: 15.95 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/0.6532, allocations: 43.97 kB / 1.496 GB, free: 15.9 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008735/0.654, allocations: 0.6022 MB / 1.497 GB, free: 15.29 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.654, allocations: 0 / 1.497 GB, free: 15.29 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001089/0.6551, allocations: 431 kB / 1.497 GB, free: 14.87 MB / 1.201 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.00562/0.6607, allocations: 2.657 MB / 1.5 GB, free: 12.36 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.6627, allocations: 0.933 MB / 1.501 GB, free: 11.41 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.6627, allocations: 8 kB / 1.501 GB, free: 11.41 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.6638, allocations: 0.5587 MB / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.6657, allocations: 492.5 kB / 1.502 GB, free: 10.38 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.6809, allocations: 8.331 MB / 1.51 GB, free: 1.871 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009107/0.6819, allocations: 1.154 MB / 1.511 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001162/0.683, allocations: 333.3 kB / 1.511 GB, free: 364 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008193/0.6838, allocations: 0.5189 MB / 1.512 GB, free: 15.83 MB / 1.217 GB Notification: Performance of SimCode: time 8.01e-07/0.6838, allocations: 0 / 1.512 GB, free: 15.83 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.7854, allocations: 30.76 MB / 1.542 GB, free: 1.387 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/18.09, allocations: 11 kB / 1.542 GB, free: 1.379 MB / 1.232 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv. Warning: Get data of variable zon.T from file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.71980630699909]