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.001908/0.001908, allocations: 106.7 kB / 16.45 MB, free: 6.02 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.002413/0.002413, allocations: 205.7 kB / 19.42 MB, free: 3.516 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.411/1.411, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.229/3.229, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.002058/0.002058, allocations: 73.23 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3643, allocations: 176.1 MB / 1.321 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2194/0.5836, allocations: 169.6 MB / 1.486 GB, free: 9.242 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.598, allocations: 7.928 MB / 1.494 GB, free: 1.289 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.5997, allocations: 43.69 kB / 1.494 GB, free: 1.246 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.6013, allocations: 412.9 kB / 1.495 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.6058, allocations: 1.368 MB / 1.496 GB, free: 15.47 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003534/0.6094, allocations: 1.181 MB / 1.497 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004077/0.6134, allocations: 2.383 MB / 1.499 GB, free: 11.9 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.6154, allocations: 0.992 MB / 1.5 GB, free: 10.89 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.6173, allocations: 0.8953 MB / 1.501 GB, free: 9.988 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.6194, allocations: 0.8255 MB / 1.502 GB, free: 9.164 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004412/0.6198, allocations: 152 kB / 1.502 GB, free: 9.016 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.6227, allocations: 1.197 MB / 1.503 GB, free: 7.816 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006103/0.6233, allocations: 442.6 kB / 1.504 GB, free: 7.383 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.6244, allocations: 0.7929 MB / 1.505 GB, free: 6.586 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004974/0.6294, allocations: 2.46 MB / 1.507 GB, free: 4.117 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6294, allocations: 0 / 1.507 GB, free: 4.117 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6294, allocations: 0 / 1.507 GB, free: 4.117 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.49e-05/0.6294, allocations: 4 kB / 1.507 GB, free: 4.113 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.004072/0.6335, allocations: 1.962 MB / 1.509 GB, free: 2.09 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.6336, allocations: 11.98 kB / 1.509 GB, free: 2.078 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002617/0.6338, allocations: 173 kB / 1.509 GB, free: 1.898 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.6364, allocations: 374.6 kB / 1.509 GB, free: 1.531 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.6383, allocations: 1.043 MB / 1.51 GB, free: 452 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.6384, allocations: 82.2 kB / 1.511 GB, free: 368 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.6386, allocations: 108 kB / 1.511 GB, free: 260 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.641, allocations: 1.176 MB / 1.512 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.641, allocations: 0 / 1.512 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.6412, allocations: 55.89 kB / 1.512 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/0.6412, allocations: 46 kB / 1.512 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.6436, allocations: 1.308 MB / 1.513 GB, free: 13.59 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.006799/0.6504, allocations: 3.899 MB / 1.517 GB, free: 9.465 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.6524, allocations: 0.9361 MB / 1.518 GB, free: 8.527 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.6531, allocations: 373.2 kB / 1.518 GB, free: 8.156 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.219e-05/0.6532, allocations: 36.97 kB / 1.518 GB, free: 8.121 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.6544, allocations: 0.595 MB / 1.519 GB, free: 7.516 MB / 1.217 GB Notification: Performance of pre-optimization done (n=102): time 5.17e-06/0.6544, allocations: 3.984 kB / 1.519 GB, free: 7.512 MB / 1.217 GB Notification: Performance of matching and sorting (n=102): time 0.004097/0.6585, allocations: 1.446 MB / 1.52 GB, free: 6.035 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.6586, allocations: 192.9 kB / 1.52 GB, free: 5.805 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.6602, allocations: 0.8587 MB / 1.521 GB, free: 4.922 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.6603, allocations: 49.7 kB / 1.521 GB, free: 4.867 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.6609, allocations: 0.544 MB / 1.522 GB, free: 4.316 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.6612, allocations: 349 kB / 1.522 GB, free: 3.973 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.6616, allocations: 186.5 kB / 1.522 GB, free: 3.785 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.6618, allocations: 341.9 kB / 1.523 GB, free: 3.445 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007408/0.6625, allocations: 313.8 kB / 1.523 GB, free: 3.137 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008599/0.6634, allocations: 479.6 kB / 1.523 GB, free: 2.625 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.6649, allocations: 0.7737 MB / 1.524 GB, free: 1.82 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6649, allocations: 0 / 1.524 GB, free: 1.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00262/0.6676, allocations: 1.029 MB / 1.525 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.6676, allocations: 11.94 kB / 1.525 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.6676, allocations: 0 / 1.525 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.6682, allocations: 85 kB / 1.525 GB, free: 0.6875 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000873/0.6691, allocations: 211.8 kB / 1.525 GB, free: 492 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.6716, allocations: 1.634 MB / 1.527 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.6728, allocations: 107.5 kB / 1.527 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.673, allocations: 35.98 kB / 1.527 GB, free: 14.56 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.0007566/0.6737, allocations: 329.6 kB / 1.528 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/0.6741, allocations: 123.2 kB / 1.528 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.6773, allocations: 1.24 MB / 1.529 GB, free: 12.85 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.6773, allocations: 12 kB / 1.529 GB, free: 12.84 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6773, allocations: 3.938 kB / 1.529 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.6773, allocations: 7.984 kB / 1.529 GB, free: 12.82 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.6794, allocations: 1.181 MB / 1.53 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.6794, allocations: 0 / 1.53 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009303/0.6804, allocations: 207.7 kB / 1.53 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/0.6809, allocations: 72.78 kB / 1.53 GB, free: 11.32 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.681, allocations: 39.97 kB / 1.53 GB, free: 11.28 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.6833, allocations: 1.666 MB / 1.532 GB, free: 9.465 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6833, allocations: 3.938 kB / 1.532 GB, free: 9.461 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/0.687, allocations: 1.575 MB / 1.534 GB, free: 7.867 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/0.6878, allocations: 336 kB / 1.534 GB, free: 7.52 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/0.688, allocations: 24 kB / 1.534 GB, free: 7.496 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009948/0.689, allocations: 75.86 kB / 1.534 GB, free: 7.422 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.6892, allocations: 80.89 kB / 1.534 GB, free: 7.34 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.6893, allocations: 39.97 kB / 1.534 GB, free: 7.301 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001134/0.6905, allocations: 0.6022 MB / 1.535 GB, free: 6.688 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6905, allocations: 0 / 1.535 GB, free: 6.688 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001511/0.692, allocations: 431 kB / 1.535 GB, free: 6.266 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.006209/0.6982, allocations: 2.641 MB / 1.538 GB, free: 3.777 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.7006, allocations: 0.9365 MB / 1.539 GB, free: 2.828 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.7006, allocations: 4 kB / 1.539 GB, free: 2.824 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.7019, allocations: 0.571 MB / 1.539 GB, free: 2.242 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/0.7045, allocations: 494.3 kB / 1.54 GB, free: 1.781 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/0.7227, allocations: 8.325 MB / 1.548 GB, free: 9.27 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.724, allocations: 1.162 MB / 1.549 GB, free: 8.074 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00137/0.7254, allocations: 325.3 kB / 1.549 GB, free: 7.754 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009873/0.7264, allocations: 0.511 MB / 1.55 GB, free: 7.242 MB / 1.248 GB Notification: Performance of SimCode: time 1.473e-06/0.7264, allocations: 4 kB / 1.55 GB, free: 7.238 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08956/0.816, allocations: 30.04 MB / 1.579 GB, free: 9.492 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.56, allocations: 5.625 kB / 1.579 GB, free: 9.488 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: 23.51842508185655]