Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007921/0.007926, allocations: 100.7 kB / 15.73 MB, free: 6.492 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.001783/0.001784, allocations: 194.6 kB / 16.67 MB, free: 6.379 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.91 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3529, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007239/0.3602, allocations: 5.113 MB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9893/1.349, allocations: 150.6 MB / 1.36 GB, free: 9.098 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008864/1.35, allocations: 19.91 kB / 1.36 GB, free: 9.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006633/1.351, allocations: 195.1 kB / 1.36 GB, free: 8.965 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/1.353, allocations: 0.5585 MB / 1.361 GB, free: 8.645 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/1.355, allocations: 0.842 MB / 1.361 GB, free: 8.211 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001721/1.357, allocations: 1.423 MB / 1.363 GB, free: 7.477 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/1.358, allocations: 0.5869 MB / 1.363 GB, free: 7.172 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007805/1.359, allocations: 0.493 MB / 1.364 GB, free: 6.926 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/1.359, allocations: 0.5137 MB / 1.364 GB, free: 6.656 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/1.359, allocations: 118.5 kB / 1.364 GB, free: 6.656 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009845/1.36, allocations: 490.1 kB / 1.365 GB, free: 6.547 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/1.361, allocations: 300.3 kB / 1.365 GB, free: 6.355 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005546/1.361, allocations: 0.5829 MB / 1.366 GB, free: 5.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/1.363, allocations: 1.66 MB / 1.367 GB, free: 5.266 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.363, allocations: 0 / 1.367 GB, free: 5.266 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.363, allocations: 5.188 kB / 1.367 GB, free: 5.262 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.726e-05/1.363, allocations: 0 / 1.367 GB, free: 5.262 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002668/1.366, allocations: 1.459 MB / 1.369 GB, free: 4.277 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.366, allocations: 10.09 kB / 1.369 GB, free: 4.277 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009166/1.367, allocations: 196.2 kB / 1.369 GB, free: 4.207 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/1.368, allocations: 0.7766 MB / 1.37 GB, free: 3.703 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/1.368, allocations: 65.19 kB / 1.37 GB, free: 3.676 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.368, allocations: 83.59 kB / 1.37 GB, free: 3.648 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/1.37, allocations: 0.9377 MB / 1.371 GB, free: 3.215 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/1.37, allocations: 1.062 kB / 1.371 GB, free: 3.215 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-05/1.37, allocations: 37.5 kB / 1.371 GB, free: 3.188 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/1.37, allocations: 21.97 kB / 1.371 GB, free: 3.188 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/1.372, allocations: 1.126 MB / 1.372 GB, free: 2.84 MB / 1.061 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.004173/1.376, allocations: 2.736 MB / 1.375 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/1.378, allocations: 0.808 MB / 1.375 GB, free: 248 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/1.378, allocations: 305.4 kB / 1.376 GB, free: 92 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.841e-05/1.378, allocations: 34.81 kB / 1.376 GB, free: 72 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008679/1.379, allocations: 494 kB / 1.376 GB, free: 15.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.404e-06/1.379, allocations: 0 / 1.376 GB, free: 15.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003303/1.382, allocations: 1.208 MB / 1.377 GB, free: 15.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.383, allocations: 198 kB / 1.378 GB, free: 14.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/1.384, allocations: 0.6455 MB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/1.384, allocations: 42.73 kB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/1.384, allocations: 401.8 kB / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/1.384, allocations: 269.7 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/1.384, allocations: 168.1 kB / 1.379 GB, free: 13.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.385, allocations: 389.6 kB / 1.379 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/1.385, allocations: 273 kB / 1.38 GB, free: 13.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/1.386, allocations: 366.9 kB / 1.38 GB, free: 13.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.387, allocations: 0.6139 MB / 1.381 GB, free: 12.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.387, allocations: 0 / 1.381 GB, free: 12.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002059/1.389, allocations: 0.8637 MB / 1.382 GB, free: 12.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.389, allocations: 11.25 kB / 1.382 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.389, allocations: 1.469 kB / 1.382 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/1.39, allocations: 83.77 kB / 1.382 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/1.39, allocations: 174 kB / 1.382 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/1.393, allocations: 1.623 MB / 1.383 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/1.393, allocations: 97.22 kB / 1.383 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/1.394, allocations: 36.48 kB / 1.383 GB, free: 10.53 MB / 1.076 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 (97): * Single equations (assignments): 96 * 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.0005277/1.394, allocations: 276.5 kB / 1.384 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/1.394, allocations: 82.75 kB / 1.384 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/1.397, allocations: 1.068 MB / 1.385 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.397, allocations: 9.625 kB / 1.385 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.397, allocations: 4 kB / 1.385 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.397, allocations: 5.359 kB / 1.385 GB, free: 9.664 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/1.398, allocations: 0.9015 MB / 1.386 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.398, allocations: 0 / 1.386 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/1.399, allocations: 157.8 kB / 1.386 GB, free: 8.941 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/1.399, allocations: 74 kB / 1.386 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/1.399, allocations: 31.78 kB / 1.386 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/1.401, allocations: 1.645 MB / 1.388 GB, free: 7.277 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/1.401, allocations: 10.42 kB / 1.388 GB, free: 7.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/1.404, allocations: 1.336 MB / 1.389 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004843/1.404, allocations: 271.2 kB / 1.389 GB, free: 6.316 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.404, allocations: 25.94 kB / 1.389 GB, free: 6.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/1.405, allocations: 66.56 kB / 1.389 GB, free: 6.262 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.405, allocations: 75.08 kB / 1.389 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/1.405, allocations: 34.05 kB / 1.389 GB, free: 6.211 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005927/1.406, allocations: 469.5 kB / 1.39 GB, free: 5.945 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.406, allocations: 0 / 1.39 GB, free: 5.945 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009548/1.407, allocations: 328.6 kB / 1.39 GB, free: 5.855 MB / 1.076 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 (93): * Single equations (assignments): 87 * 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.001325/1.408, allocations: 0.6003 MB / 1.391 GB, free: 5.574 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.41, allocations: 0.834 MB / 1.392 GB, free: 5.137 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.41, allocations: 192 / 1.392 GB, free: 5.137 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009427/1.411, allocations: 0.5265 MB / 1.392 GB, free: 4.836 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.412, allocations: 302.6 kB / 1.392 GB, free: 4.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/1.416, allocations: 1.785 MB / 1.394 GB, free: 3.617 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/1.416, allocations: 1.024 MB / 1.395 GB, free: 2.777 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008447/1.417, allocations: 266.7 kB / 1.395 GB, free: 2.645 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/1.417, allocations: 109.9 kB / 1.395 GB, free: 2.605 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/1.417, allocations: 0 / 1.395 GB, free: 2.605 MB / 1.076 GB Notification: Performance of Templates: time 0.02761/1.445, allocations: 15.69 MB / 1.411 GB, free: 6.355 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches