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.001393/0.001393, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001458/0.001458, allocations: 217.2 kB / 22.25 MB, free: 5.105 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.836 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.166/3.166, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.0021/0.0021, allocations: 65.56 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3566, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1868/0.5434, allocations: 146.3 MB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.5571, allocations: 7.524 MB / 1.476 GB, free: 7.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.5589, allocations: 47.62 kB / 1.476 GB, free: 7.043 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.5606, allocations: 389 kB / 1.477 GB, free: 6.66 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.5651, allocations: 1.379 MB / 1.478 GB, free: 5.277 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.5684, allocations: 1.215 MB / 1.479 GB, free: 4.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.572, allocations: 2.403 MB / 1.481 GB, free: 1.66 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.5737, allocations: 0.9845 MB / 1.482 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.5752, allocations: 0.8953 MB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.5768, allocations: 0.8299 MB / 1.484 GB, free: 14.92 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003047/0.5771, allocations: 152 kB / 1.484 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.5795, allocations: 1.037 MB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004984/0.58, allocations: 446.5 kB / 1.486 GB, free: 13.3 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008122/0.5808, allocations: 0.6454 MB / 1.486 GB, free: 12.65 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.5848, allocations: 2.452 MB / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5848, allocations: 0 / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5848, allocations: 0 / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.09e-05/0.5848, allocations: 0 / 1.489 GB, free: 10.19 MB / 1.186 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.00378/0.5886, allocations: 1.887 MB / 1.491 GB, free: 8.258 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5886, allocations: 8.031 kB / 1.491 GB, free: 8.25 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.5888, allocations: 172.9 kB / 1.491 GB, free: 8.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.5913, allocations: 374.6 kB / 1.491 GB, free: 7.703 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.5933, allocations: 0.9473 MB / 1.492 GB, free: 6.719 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.5933, allocations: 86.14 kB / 1.492 GB, free: 6.633 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.5935, allocations: 116 kB / 1.492 GB, free: 6.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.596, allocations: 1.523 MB / 1.494 GB, free: 4.84 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.596, allocations: 0 / 1.494 GB, free: 4.84 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.5961, allocations: 48 kB / 1.494 GB, free: 4.793 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-05/0.5962, allocations: 46.05 kB / 1.494 GB, free: 4.746 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.5985, allocations: 1.265 MB / 1.495 GB, free: 3.473 MB / 1.186 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.005941/0.6044, allocations: 2.903 MB / 1.498 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.6063, allocations: 0.9433 MB / 1.499 GB, free: 15.54 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.607, allocations: 359.7 kB / 1.499 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.845e-05/0.6071, allocations: 36.91 kB / 1.499 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.6082, allocations: 0.7882 MB / 1.5 GB, free: 14.29 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 2.916e-06/0.6082, allocations: 0 / 1.5 GB, free: 14.29 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.003677/0.6119, allocations: 1.379 MB / 1.501 GB, free: 12.91 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.612, allocations: 192.9 kB / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.6133, allocations: 0.8586 MB / 1.502 GB, free: 11.79 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.6134, allocations: 49.7 kB / 1.502 GB, free: 11.73 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/0.6139, allocations: 0.5363 MB / 1.503 GB, free: 11.19 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.6143, allocations: 365 kB / 1.503 GB, free: 10.83 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/0.6146, allocations: 186.6 kB / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.6147, allocations: 337.9 kB / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006246/0.6154, allocations: 313.8 kB / 1.504 GB, free: 10 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008364/0.6162, allocations: 0.5939 MB / 1.505 GB, free: 9.332 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.6176, allocations: 0.7736 MB / 1.505 GB, free: 8.531 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.6176, allocations: 4 kB / 1.505 GB, free: 8.527 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002352/0.6199, allocations: 1.032 MB / 1.506 GB, free: 7.484 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6199, allocations: 4 kB / 1.506 GB, free: 7.48 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.62, allocations: 8.25 kB / 1.506 GB, free: 7.473 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.6205, allocations: 76.78 kB / 1.506 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/0.6214, allocations: 211.7 kB / 1.507 GB, free: 7.188 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.6235, allocations: 1.54 MB / 1.508 GB, free: 5.531 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.6246, allocations: 99.39 kB / 1.508 GB, free: 5.434 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/0.6246, allocations: 39.98 kB / 1.508 GB, free: 5.395 MB / 1.201 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.0006409/0.6253, allocations: 318.8 kB / 1.509 GB, free: 5.074 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.6255, allocations: 127.2 kB / 1.509 GB, free: 4.949 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.6283, allocations: 1.244 MB / 1.51 GB, free: 3.688 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.6283, allocations: 12 kB / 1.51 GB, free: 3.676 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6283, allocations: 0 / 1.51 GB, free: 3.676 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.6283, allocations: 7.969 kB / 1.51 GB, free: 3.668 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.6299, allocations: 0.9738 MB / 1.511 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6299, allocations: 0 / 1.511 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/0.6308, allocations: 211.7 kB / 1.511 GB, free: 2.445 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.6313, allocations: 76.72 kB / 1.511 GB, free: 2.367 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.6314, allocations: 27.98 kB / 1.511 GB, free: 2.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.6334, allocations: 1.551 MB / 1.513 GB, free: 0.668 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6334, allocations: 0 / 1.513 GB, free: 0.668 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.6368, allocations: 1.583 MB / 1.514 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/0.6376, allocations: 258.9 kB / 1.514 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.6377, allocations: 23.98 kB / 1.514 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008233/0.6386, allocations: 77.48 kB / 1.515 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.6388, allocations: 80.84 kB / 1.515 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/0.6388, allocations: 47.91 kB / 1.515 GB, free: 14.59 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009158/0.6398, allocations: 0.6022 MB / 1.515 GB, free: 13.98 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6398, allocations: 3.938 kB / 1.515 GB, free: 13.97 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001149/0.6409, allocations: 427 kB / 1.516 GB, free: 13.55 MB / 1.217 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.005648/0.6466, allocations: 2.694 MB / 1.518 GB, free: 11.04 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00213/0.6487, allocations: 0.9292 MB / 1.519 GB, free: 10.1 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.6487, allocations: 4 kB / 1.519 GB, free: 10.1 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.6498, allocations: 0.5704 MB / 1.52 GB, free: 9.512 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.652, allocations: 491.4 kB / 1.52 GB, free: 9.059 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.6672, allocations: 8.33 MB / 1.528 GB, free: 0.5508 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.6678, allocations: 0.5676 MB / 1.529 GB, free: 15.95 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.001203/0.669, allocations: 337.2 kB / 1.529 GB, free: 15.62 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008112/0.6698, allocations: 0.5149 MB / 1.53 GB, free: 15.1 MB / 1.233 GB Notification: Performance of SimCode: time 1.192e-06/0.6698, allocations: 0 / 1.53 GB, free: 15.1 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09561/0.7655, allocations: 32.6 MB / 1.562 GB, free: 14.94 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.32, allocations: 15.86 kB / 1.562 GB, free: 14.93 MB / 1.264 GB " [Timeout remaining time 284] (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: 22.13648370100418]