Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001917/0.001917, allocations: 114.5 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.00186/0.00186, allocations: 219.2 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8.012 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.451/3.451, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.SimpleHouse3,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="Buildings_12_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.001956/0.001956, allocations: 75.83 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3564, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2207/0.5771, allocations: 169.7 MB / 1.492 GB, free: 7.57 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01623/0.5934, allocations: 8.066 MB / 1.5 GB, free: 15.48 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.5952, allocations: 43.69 kB / 1.5 GB, free: 15.44 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.5966, allocations: 416.9 kB / 1.5 GB, free: 15.03 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.6015, allocations: 1.383 MB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.6053, allocations: 1.23 MB / 1.503 GB, free: 12.42 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004068/0.6094, allocations: 2.406 MB / 1.505 GB, free: 10 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.6114, allocations: 0.9877 MB / 1.506 GB, free: 8.992 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.6132, allocations: 0.8992 MB / 1.507 GB, free: 8.09 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.615, allocations: 0.8261 MB / 1.508 GB, free: 7.262 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003047/0.6153, allocations: 152 kB / 1.508 GB, free: 7.113 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.6181, allocations: 1.209 MB / 1.509 GB, free: 5.902 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005713/0.6186, allocations: 450.5 kB / 1.509 GB, free: 5.461 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.6197, allocations: 0.7852 MB / 1.51 GB, free: 4.672 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.6245, allocations: 2.467 MB / 1.512 GB, free: 2.195 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6245, allocations: 0 / 1.512 GB, free: 2.195 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.394e-06/0.6246, allocations: 0 / 1.512 GB, free: 2.195 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.463e-05/0.6246, allocations: 0 / 1.512 GB, free: 2.195 MB / 1.201 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.004305/0.6289, allocations: 1.887 MB / 1.514 GB, free: 272 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.629, allocations: 12.03 kB / 1.514 GB, free: 260 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.6292, allocations: 172.9 kB / 1.514 GB, free: 76 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.6317, allocations: 374.6 kB / 1.515 GB, free: 15.71 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.6338, allocations: 0.959 MB / 1.516 GB, free: 14.71 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.201e-05/0.6339, allocations: 82.2 kB / 1.516 GB, free: 14.63 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.6341, allocations: 108 kB / 1.516 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.6363, allocations: 1.172 MB / 1.517 GB, free: 13.28 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.6363, allocations: 0 / 1.517 GB, free: 13.28 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.6364, allocations: 55.92 kB / 1.517 GB, free: 13.23 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/0.6365, allocations: 38.12 kB / 1.517 GB, free: 13.19 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.6388, allocations: 1.308 MB / 1.518 GB, free: 11.87 MB / 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.007004/0.6458, allocations: 3.829 MB / 1.522 GB, free: 7.816 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.6477, allocations: 0.9457 MB / 1.523 GB, free: 6.863 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.6484, allocations: 371.5 kB / 1.523 GB, free: 6.496 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/0.6485, allocations: 33.03 kB / 1.524 GB, free: 6.465 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.6496, allocations: 0.5876 MB / 1.524 GB, free: 5.859 MB / 1.217 GB Notification: Performance of pre-optimization done (n=102): time 2.475e-06/0.6496, allocations: 0 / 1.524 GB, free: 5.859 MB / 1.217 GB Notification: Performance of matching and sorting (n=102): time 0.004023/0.6536, allocations: 1.375 MB / 1.525 GB, free: 4.477 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.6538, allocations: 192.9 kB / 1.526 GB, free: 4.242 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.6552, allocations: 0.8586 MB / 1.526 GB, free: 3.359 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.6553, allocations: 49.7 kB / 1.526 GB, free: 3.305 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005684/0.6558, allocations: 0.5402 MB / 1.527 GB, free: 2.758 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.6562, allocations: 353 kB / 1.527 GB, free: 2.41 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.6565, allocations: 182.5 kB / 1.528 GB, free: 2.227 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.6567, allocations: 349.9 kB / 1.528 GB, free: 1.879 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.6574, allocations: 313.8 kB / 1.528 GB, free: 1.574 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/0.6582, allocations: 479.5 kB / 1.529 GB, free: 1.059 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.6596, allocations: 0.7698 MB / 1.529 GB, free: 268 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6596, allocations: 0 / 1.529 GB, free: 268 kB / 1.217 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002532/0.6621, allocations: 1.04 MB / 1.53 GB, free: 15.21 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.6622, allocations: 4 kB / 1.53 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6622, allocations: 4 kB / 1.53 GB, free: 15.2 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/0.6628, allocations: 88.89 kB / 1.53 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008558/0.6637, allocations: 203.8 kB / 1.531 GB, free: 14.91 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.666, allocations: 1.533 MB / 1.532 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.6671, allocations: 107.4 kB / 1.532 GB, free: 13.16 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/0.6672, allocations: 39.98 kB / 1.532 GB, free: 13.12 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.0006835/0.6679, allocations: 320.1 kB / 1.533 GB, free: 12.8 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.6681, allocations: 123.2 kB / 1.533 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.671, allocations: 1.244 MB / 1.534 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.671, allocations: 12 kB / 1.534 GB, free: 11.4 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.671, allocations: 0 / 1.534 GB, free: 11.4 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.671, allocations: 7.984 kB / 1.534 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.6729, allocations: 1.161 MB / 1.535 GB, free: 10.19 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6729, allocations: 3.938 kB / 1.535 GB, free: 10.19 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008988/0.6738, allocations: 203.7 kB / 1.535 GB, free: 9.988 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004784/0.6742, allocations: 76.78 kB / 1.535 GB, free: 9.91 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/0.6743, allocations: 27.98 kB / 1.535 GB, free: 9.883 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.6765, allocations: 1.567 MB / 1.537 GB, free: 8.199 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6765, allocations: 0 / 1.537 GB, free: 8.199 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/0.6798, allocations: 1.586 MB / 1.538 GB, free: 6.59 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006771/0.6805, allocations: 254.9 kB / 1.539 GB, free: 6.34 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.6807, allocations: 27.98 kB / 1.539 GB, free: 6.312 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/0.6815, allocations: 67.94 kB / 1.539 GB, free: 6.246 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.6817, allocations: 84.83 kB / 1.539 GB, free: 6.164 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.28e-05/0.6818, allocations: 47.97 kB / 1.539 GB, free: 6.117 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001045/0.6829, allocations: 0.5944 MB / 1.54 GB, free: 5.512 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6829, allocations: 0 / 1.54 GB, free: 5.512 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001346/0.6842, allocations: 431 kB / 1.54 GB, free: 5.09 MB / 1.232 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.005768/0.69, allocations: 2.67 MB / 1.543 GB, free: 2.578 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.6922, allocations: 0.9369 MB / 1.543 GB, free: 1.629 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6922, allocations: 0 / 1.543 GB, free: 1.629 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.6933, allocations: 0.5587 MB / 1.544 GB, free: 1.055 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.6954, allocations: 0.4952 MB / 1.544 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.7103, allocations: 8.316 MB / 1.553 GB, free: 8.082 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000911/0.7112, allocations: 1.16 MB / 1.554 GB, free: 6.895 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00118/0.7124, allocations: 325.3 kB / 1.554 GB, free: 6.574 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007974/0.7132, allocations: 0.5188 MB / 1.555 GB, free: 6.055 MB / 1.248 GB Notification: Performance of SimCode: time 1.292e-06/0.7132, allocations: 0 / 1.555 GB, free: 6.055 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08428/0.7975, allocations: 30.78 MB / 1.585 GB, free: 7.586 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.79, allocations: 4.219 kB / 1.585 GB, free: 7.586 MB / 1.279 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv. Warning: Get data of variable zon.T from file Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.23000210399914]