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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005105/0.005105, allocations: 99.98 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 187.8 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.73/2.73, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 59.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.6506, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1861/0.8367, allocations: 166.1 MB / 1.382 GB, free: 11.3 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.849, allocations: 7.803 MB / 1.39 GB, free: 3.48 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.85, allocations: 35.75 kB / 1.39 GB, free: 3.445 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.8512, allocations: 401 kB / 1.39 GB, free: 3.051 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003345/0.8545, allocations: 1.311 MB / 1.392 GB, free: 1.738 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.8572, allocations: 1.173 MB / 1.393 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002978/0.8602, allocations: 2.36 MB / 1.395 GB, free: 14.2 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.8619, allocations: 1.194 MB / 1.396 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.8631, allocations: 0.8104 MB / 1.397 GB, free: 12.17 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.8645, allocations: 0.7874 MB / 1.398 GB, free: 11.38 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.8648, allocations: 152 kB / 1.398 GB, free: 11.23 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.8668, allocations: 1.131 MB / 1.399 GB, free: 10.1 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004221/0.8672, allocations: 422.7 kB / 1.4 GB, free: 9.688 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008073/0.868, allocations: 0.7852 MB / 1.4 GB, free: 8.898 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.8709, allocations: 2.417 MB / 1.403 GB, free: 6.473 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.871, allocations: 0 / 1.403 GB, free: 6.473 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.296e-06/0.871, allocations: 0 / 1.403 GB, free: 6.473 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.871, allocations: 3.938 kB / 1.403 GB, free: 6.469 MB / 1.123 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.003335/0.8743, allocations: 1.935 MB / 1.405 GB, free: 4.473 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.8744, allocations: 12.03 kB / 1.405 GB, free: 4.461 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000217/0.8746, allocations: 168.9 kB / 1.405 GB, free: 4.285 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.8765, allocations: 334.7 kB / 1.405 GB, free: 3.957 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.8781, allocations: 1.031 MB / 1.406 GB, free: 2.879 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.8782, allocations: 82.2 kB / 1.406 GB, free: 2.797 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.8784, allocations: 108 kB / 1.406 GB, free: 2.691 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.8805, allocations: 1.17 MB / 1.407 GB, free: 1.453 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.8806, allocations: 3.938 kB / 1.407 GB, free: 1.449 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.8807, allocations: 51.98 kB / 1.407 GB, free: 1.398 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/0.8808, allocations: 46.06 kB / 1.407 GB, free: 1.352 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.8831, allocations: 1.304 MB / 1.409 GB, free: 40 kB / 1.123 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.005702/0.8889, allocations: 3.813 MB / 1.412 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.8909, allocations: 1.001 MB / 1.413 GB, free: 11.01 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/0.8916, allocations: 400.7 kB / 1.414 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.073e-05/0.8917, allocations: 41.02 kB / 1.414 GB, free: 10.58 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.8928, allocations: 0.5797 MB / 1.414 GB, free: 9.98 MB / 1.139 GB Notification: Performance of pre-optimization done (n=102): time 2.455e-06/0.8928, allocations: 0 / 1.414 GB, free: 9.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=102): time 0.003866/0.8967, allocations: 1.446 MB / 1.416 GB, free: 8.512 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.8968, allocations: 196.9 kB / 1.416 GB, free: 8.273 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.898, allocations: 0.8341 MB / 1.417 GB, free: 7.414 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.809e-05/0.8981, allocations: 45.7 kB / 1.417 GB, free: 7.363 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004744/0.8985, allocations: 0.5324 MB / 1.417 GB, free: 6.824 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.8989, allocations: 364.9 kB / 1.418 GB, free: 6.465 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.8992, allocations: 178.6 kB / 1.418 GB, free: 6.285 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.8994, allocations: 345.9 kB / 1.418 GB, free: 5.941 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/0.9, allocations: 317.8 kB / 1.419 GB, free: 5.633 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008478/0.9009, allocations: 471.6 kB / 1.419 GB, free: 5.125 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.9024, allocations: 0.7776 MB / 1.42 GB, free: 4.32 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9024, allocations: 0 / 1.42 GB, free: 4.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002418/0.9049, allocations: 1.029 MB / 1.421 GB, free: 3.277 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9049, allocations: 8 kB / 1.421 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.9049, allocations: 4.219 kB / 1.421 GB, free: 3.266 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/0.9055, allocations: 84.77 kB / 1.421 GB, free: 3.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.9064, allocations: 211.7 kB / 1.421 GB, free: 2.973 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.9087, allocations: 1.649 MB / 1.423 GB, free: 1.184 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009065/0.9096, allocations: 107.3 kB / 1.423 GB, free: 1.078 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/0.9097, allocations: 39.98 kB / 1.423 GB, free: 1.039 MB / 1.139 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.0004685/0.9102, allocations: 313.5 kB / 1.423 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.9104, allocations: 119.2 kB / 1.423 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/0.9133, allocations: 1.244 MB / 1.424 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.9134, allocations: 16 kB / 1.424 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9134, allocations: 7.938 kB / 1.424 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.9134, allocations: 7.969 kB / 1.424 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.9149, allocations: 1.169 MB / 1.426 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.915, allocations: 3.984 kB / 1.426 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009401/0.9159, allocations: 203.8 kB / 1.426 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/0.9164, allocations: 72.8 kB / 1.426 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.369e-05/0.9165, allocations: 27.97 kB / 1.426 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.9186, allocations: 1.662 MB / 1.428 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9186, allocations: 0 / 1.428 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.9219, allocations: 1.578 MB / 1.429 GB, free: 10.38 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.9224, allocations: 324 kB / 1.429 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.9226, allocations: 28 kB / 1.429 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.9234, allocations: 67.92 kB / 1.429 GB, free: 9.949 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.9236, allocations: 84.88 kB / 1.43 GB, free: 9.867 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.508e-05/0.9237, allocations: 40.05 kB / 1.43 GB, free: 9.828 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008199/0.9245, allocations: 0.586 MB / 1.43 GB, free: 9.23 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9245, allocations: 0 / 1.43 GB, free: 9.23 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009176/0.9255, allocations: 427 kB / 1.431 GB, free: 8.812 MB / 1.154 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.005529/0.931, allocations: 2.664 MB / 1.433 GB, free: 6.301 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.933, allocations: 0.9682 MB / 1.434 GB, free: 5.316 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.933, allocations: 4.125 kB / 1.434 GB, free: 5.312 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.9342, allocations: 0.5939 MB / 1.435 GB, free: 4.707 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.9362, allocations: 0.4969 MB / 1.435 GB, free: 4.238 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.95, allocations: 8.245 MB / 1.443 GB, free: 11.81 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/0.9509, allocations: 1.161 MB / 1.444 GB, free: 10.62 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009594/0.9518, allocations: 321.2 kB / 1.445 GB, free: 10.3 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000783/0.9526, allocations: 0.5149 MB / 1.445 GB, free: 9.785 MB / 1.17 GB Notification: Performance of SimCode: time 3.5e-07/0.9526, allocations: 0 / 1.445 GB, free: 9.785 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06899/1.022, allocations: 29.6 MB / 1.474 GB, free: 12.57 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.34, allocations: 5.391 kB / 1.474 GB, free: 12.57 MB / 1.201 GB (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) 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) Reference file matches