Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007738/0.007738, allocations: 96.8 kB / 15.73 MB, free: 6.484 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.001913/0.001913, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 64.08 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00726/0.3363, allocations: 5.243 MB / 1.226 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9451/1.281, allocations: 151.1 MB / 1.373 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/1.283, allocations: 16.16 kB / 1.373 GB, free: 10.9 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/1.284, allocations: 203.5 kB / 1.373 GB, free: 10.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002918/1.287, allocations: 0.5812 MB / 1.374 GB, free: 10.43 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/1.29, allocations: 0.8483 MB / 1.375 GB, free: 9.988 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002744/1.292, allocations: 1.448 MB / 1.376 GB, free: 9.242 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/1.294, allocations: 438.1 kB / 1.377 GB, free: 8.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/1.295, allocations: 0.501 MB / 1.377 GB, free: 8.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/1.296, allocations: 0.5325 MB / 1.378 GB, free: 8.449 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005134/1.297, allocations: 120.1 kB / 1.378 GB, free: 8.449 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/1.299, allocations: 482.8 kB / 1.378 GB, free: 8.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006207/1.299, allocations: 314.8 kB / 1.379 GB, free: 8.137 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/1.301, allocations: 0.5852 MB / 1.379 GB, free: 7.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00325/1.304, allocations: 1.695 MB / 1.381 GB, free: 6.727 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.304, allocations: 0 / 1.381 GB, free: 6.727 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/1.304, allocations: 0 / 1.381 GB, free: 6.727 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.199e-05/1.304, allocations: 4 kB / 1.381 GB, free: 6.723 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.0035/1.308, allocations: 1.525 MB / 1.382 GB, free: 5.523 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.308, allocations: 9.719 kB / 1.382 GB, free: 5.523 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/1.309, allocations: 199.4 kB / 1.382 GB, free: 5.426 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/1.31, allocations: 0.7911 MB / 1.383 GB, free: 4.777 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/1.31, allocations: 67.12 kB / 1.383 GB, free: 4.746 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/1.31, allocations: 85.19 kB / 1.383 GB, free: 4.719 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.312, allocations: 0.9522 MB / 1.384 GB, free: 4.109 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/1.312, allocations: 5.469 kB / 1.384 GB, free: 4.105 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/1.313, allocations: 36.22 kB / 1.384 GB, free: 4.078 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/1.313, allocations: 22.06 kB / 1.384 GB, free: 4.078 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/1.315, allocations: 1.133 MB / 1.386 GB, free: 3.539 MB / 1.076 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.005205/1.32, allocations: 2.79 MB / 1.388 GB, free: 1.312 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/1.322, allocations: 0.7965 MB / 1.389 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/1.322, allocations: 293.3 kB / 1.389 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.191e-05/1.322, allocations: 31.66 kB / 1.389 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009856/1.323, allocations: 0.5194 MB / 1.39 GB, free: 408 kB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.535e-06/1.323, allocations: 1.25 kB / 1.39 GB, free: 408 kB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.003696/1.327, allocations: 1.239 MB / 1.391 GB, free: 15.73 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.327, allocations: 199.1 kB / 1.391 GB, free: 15.5 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/1.328, allocations: 0.6522 MB / 1.392 GB, free: 15.12 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/1.328, allocations: 46.95 kB / 1.392 GB, free: 15.07 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/1.329, allocations: 414.5 kB / 1.392 GB, free: 14.71 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/1.329, allocations: 296.3 kB / 1.393 GB, free: 14.45 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/1.329, allocations: 170 kB / 1.393 GB, free: 14.35 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.33, allocations: 389.3 kB / 1.393 GB, free: 13.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/1.33, allocations: 281.6 kB / 1.393 GB, free: 13.84 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/1.331, allocations: 370.1 kB / 1.394 GB, free: 13.63 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.332, allocations: 0.6337 MB / 1.394 GB, free: 13.29 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.332, allocations: 0 / 1.394 GB, free: 13.29 MB / 1.092 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002324/1.335, allocations: 0.8876 MB / 1.395 GB, free: 12.83 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/1.335, allocations: 8.797 kB / 1.395 GB, free: 12.83 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.335, allocations: 9.219 kB / 1.395 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/1.335, allocations: 73.62 kB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/1.336, allocations: 177.3 kB / 1.395 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/1.339, allocations: 1.632 MB / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/1.34, allocations: 100.1 kB / 1.397 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/1.34, allocations: 39.34 kB / 1.397 GB, free: 11.06 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.0006559/1.34, allocations: 272.2 kB / 1.397 GB, free: 10.85 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/1.341, allocations: 88.66 kB / 1.398 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/1.343, allocations: 1.096 MB / 1.399 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.343, allocations: 9.625 kB / 1.399 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.343, allocations: 2.406 kB / 1.399 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.343, allocations: 3.984 kB / 1.399 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/1.345, allocations: 0.9329 MB / 1.4 GB, free: 9.488 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.345, allocations: 3.984 kB / 1.4 GB, free: 9.484 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/1.345, allocations: 153 kB / 1.4 GB, free: 9.453 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/1.346, allocations: 80.78 kB / 1.4 GB, free: 9.41 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.346, allocations: 27.36 kB / 1.4 GB, free: 9.391 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/1.348, allocations: 1.66 MB / 1.401 GB, free: 7.766 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.348, allocations: 0 / 1.401 GB, free: 7.766 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/1.351, allocations: 1.374 MB / 1.403 GB, free: 7.035 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/1.352, allocations: 279.3 kB / 1.403 GB, free: 6.789 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/1.352, allocations: 27.03 kB / 1.403 GB, free: 6.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007973/1.353, allocations: 62.72 kB / 1.403 GB, free: 6.738 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/1.353, allocations: 71.39 kB / 1.403 GB, free: 6.703 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/1.353, allocations: 35.2 kB / 1.403 GB, free: 6.691 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008708/1.354, allocations: 472.2 kB / 1.404 GB, free: 6.422 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.354, allocations: 0 / 1.404 GB, free: 6.422 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001365/1.355, allocations: 345.1 kB / 1.404 GB, free: 6.32 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.001861/1.357, allocations: 0.6135 MB / 1.405 GB, free: 6.035 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002249/1.36, allocations: 0.8253 MB / 1.405 GB, free: 5.602 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.36, allocations: 7.938 kB / 1.405 GB, free: 5.594 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.361, allocations: 0.5001 MB / 1.406 GB, free: 5.301 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.362, allocations: 298.3 kB / 1.406 GB, free: 5.152 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/1.367, allocations: 1.868 MB / 1.408 GB, free: 4.047 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009352/1.368, allocations: 1.044 MB / 1.409 GB, free: 3.195 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001057/1.369, allocations: 269.1 kB / 1.409 GB, free: 3.059 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/1.369, allocations: 101 kB / 1.409 GB, free: 3.031 MB / 1.092 GB Notification: Performance of SimCode: time 1.613e-06/1.369, allocations: 0 / 1.409 GB, free: 3.031 MB / 1.092 GB Notification: Performance of Templates: time 0.02967/1.399, allocations: 15.67 MB / 1.425 GB, free: 4.004 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches