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.001331/0.001331, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001444/0.001444, allocations: 211.5 kB / 22.24 MB, free: 4.855 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.797 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.182/3.182, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.002042/0.002042, allocations: 69.75 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3238, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1974/0.5212, allocations: 146.3 MB / 1.468 GB, free: 15.45 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.5353, allocations: 7.519 MB / 1.475 GB, free: 7.914 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.5366, allocations: 43.69 kB / 1.475 GB, free: 7.871 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.5378, allocations: 400.9 kB / 1.476 GB, free: 7.477 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.542, allocations: 1.385 MB / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.5451, allocations: 1.201 MB / 1.478 GB, free: 4.895 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00341/0.5485, allocations: 2.395 MB / 1.481 GB, free: 2.492 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.5501, allocations: 0.9613 MB / 1.482 GB, free: 1.508 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.5517, allocations: 0.8953 MB / 1.482 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.5533, allocations: 0.7624 MB / 1.483 GB, free: 15.85 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.5535, allocations: 152 kB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.5557, allocations: 1.014 MB / 1.484 GB, free: 14.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.5561, allocations: 446.5 kB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007166/0.5568, allocations: 0.6415 MB / 1.485 GB, free: 13.6 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.5601, allocations: 2.46 MB / 1.488 GB, free: 11.13 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5601, allocations: 0 / 1.488 GB, free: 11.13 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5601, allocations: 0 / 1.488 GB, free: 11.13 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.5601, allocations: 0 / 1.488 GB, free: 11.13 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.003548/0.5637, allocations: 1.883 MB / 1.49 GB, free: 9.207 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5637, allocations: 8.031 kB / 1.49 GB, free: 9.199 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000244/0.564, allocations: 176.9 kB / 1.49 GB, free: 9.016 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.5664, allocations: 374.6 kB / 1.49 GB, free: 8.648 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.5684, allocations: 0.9473 MB / 1.491 GB, free: 7.664 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/0.5684, allocations: 90.2 kB / 1.491 GB, free: 7.574 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.5686, allocations: 104 kB / 1.491 GB, free: 7.473 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.571, allocations: 1.527 MB / 1.493 GB, free: 5.789 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.571, allocations: 0 / 1.493 GB, free: 5.789 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.5711, allocations: 48 kB / 1.493 GB, free: 5.742 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-05/0.5712, allocations: 46.05 kB / 1.493 GB, free: 5.695 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.5734, allocations: 1.265 MB / 1.494 GB, free: 4.422 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.005652/0.5791, allocations: 2.903 MB / 1.497 GB, free: 1.441 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.5809, allocations: 0.9451 MB / 1.498 GB, free: 500 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.5816, allocations: 363.7 kB / 1.498 GB, free: 136 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.479e-05/0.5817, allocations: 28.97 kB / 1.498 GB, free: 108 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.5829, allocations: 0.7961 MB / 1.499 GB, free: 15.23 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 2.936e-06/0.5829, allocations: 0 / 1.499 GB, free: 15.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.003729/0.5866, allocations: 1.371 MB / 1.5 GB, free: 13.86 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.5867, allocations: 196.9 kB / 1.5 GB, free: 13.62 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.588, allocations: 0.8625 MB / 1.501 GB, free: 12.73 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.861e-05/0.5881, allocations: 49.7 kB / 1.501 GB, free: 12.68 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.5886, allocations: 0.5363 MB / 1.502 GB, free: 12.14 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.589, allocations: 364.8 kB / 1.502 GB, free: 11.78 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003463/0.5893, allocations: 182.6 kB / 1.502 GB, free: 11.6 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5895, allocations: 337.9 kB / 1.503 GB, free: 11.26 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.5901, allocations: 317.8 kB / 1.503 GB, free: 10.95 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.591, allocations: 0.59 MB / 1.504 GB, free: 10.28 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.5923, allocations: 0.7698 MB / 1.504 GB, free: 9.484 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.5923, allocations: 4 kB / 1.504 GB, free: 9.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002401/0.5947, allocations: 1.04 MB / 1.505 GB, free: 8.43 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5948, allocations: 8.031 kB / 1.505 GB, free: 8.422 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5948, allocations: 4 kB / 1.505 GB, free: 8.418 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.5954, allocations: 72.78 kB / 1.505 GB, free: 8.344 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/0.5962, allocations: 215.8 kB / 1.506 GB, free: 8.133 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.5984, allocations: 1.529 MB / 1.507 GB, free: 6.488 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.5994, allocations: 107.3 kB / 1.507 GB, free: 6.383 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.11e-05/0.5995, allocations: 39.98 kB / 1.507 GB, free: 6.344 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.0006223/0.6001, allocations: 314.2 kB / 1.508 GB, free: 6.027 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.6003, allocations: 127.2 kB / 1.508 GB, free: 5.902 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.6031, allocations: 1.248 MB / 1.509 GB, free: 4.641 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.6031, allocations: 12 kB / 1.509 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6031, allocations: 0 / 1.509 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.6031, allocations: 7.969 kB / 1.509 GB, free: 4.621 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.6047, allocations: 0.9738 MB / 1.51 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6047, allocations: 0 / 1.51 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/0.6056, allocations: 211.7 kB / 1.51 GB, free: 3.398 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.606, allocations: 72.78 kB / 1.51 GB, free: 3.324 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.6061, allocations: 31.98 kB / 1.51 GB, free: 3.293 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.6081, allocations: 1.547 MB / 1.512 GB, free: 1.625 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6081, allocations: 4.031 kB / 1.512 GB, free: 1.621 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/0.6113, allocations: 1.578 MB / 1.513 GB, free: 24 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.612, allocations: 259.3 kB / 1.514 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.6121, allocations: 20 kB / 1.514 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/0.6129, allocations: 75.92 kB / 1.514 GB, free: 15.67 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.6131, allocations: 84.83 kB / 1.514 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/0.6132, allocations: 51.84 kB / 1.514 GB, free: 15.54 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008787/0.6141, allocations: 0.6022 MB / 1.514 GB, free: 14.93 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6141, allocations: 0 / 1.514 GB, free: 14.93 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00107/0.6151, allocations: 431 kB / 1.515 GB, free: 14.5 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.005531/0.6207, allocations: 2.69 MB / 1.517 GB, free: 12 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.6227, allocations: 0.929 MB / 1.518 GB, free: 11.05 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/0.6227, allocations: 4 kB / 1.518 GB, free: 11.05 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.6237, allocations: 0.5746 MB / 1.519 GB, free: 10.46 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.6257, allocations: 0.4943 MB / 1.519 GB, free: 9.996 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.6401, allocations: 8.316 MB / 1.527 GB, free: 1.496 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.6408, allocations: 0.5691 MB / 1.528 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001163/0.6419, allocations: 329.3 kB / 1.528 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000787/0.6427, allocations: 0.5188 MB / 1.529 GB, free: 52 kB / 1.217 GB Notification: Performance of SimCode: time 8.91e-07/0.6427, allocations: 0 / 1.529 GB, free: 52 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08332/0.726, allocations: 32.3 MB / 1.56 GB, free: 208 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.64, allocations: 19.88 kB / 1.56 GB, free: 188 kB / 1.248 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.622854378074408]