Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_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.001556/0.001556, allocations: 103.4 kB / 16.36 MB, free: 6.289 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.001609/0.001609, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.458/2.458, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 63.88 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3056, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006297/0.312, allocations: 5.251 MB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6972/1.009, allocations: 150.7 MB / 1.179 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007682/1.01, allocations: 20.31 kB / 1.179 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005755/1.011, allocations: 196.3 kB / 1.179 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/1.012, allocations: 0.5632 MB / 1.18 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/1.014, allocations: 0.8415 MB / 1.181 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001482/1.016, allocations: 1.457 MB / 1.182 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008561/1.016, allocations: 0.6053 MB / 1.183 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000667/1.017, allocations: 0.5 MB / 1.183 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/1.018, allocations: 0.5243 MB / 1.184 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/1.018, allocations: 124.6 kB / 1.184 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008687/1.019, allocations: 492.5 kB / 1.184 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002718/1.019, allocations: 306.4 kB / 1.184 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005065/1.02, allocations: 0.5799 MB / 1.185 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/1.021, allocations: 1.692 MB / 1.187 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.021, allocations: 0 / 1.187 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.162e-06/1.021, allocations: 0 / 1.187 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.633e-05/1.021, allocations: 1.125 kB / 1.187 GB, free: 1.457 MB / 0.8887 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.002386/1.024, allocations: 1.485 MB / 1.188 GB, free: 300 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/1.024, allocations: 9 kB / 1.188 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008741/1.025, allocations: 190.3 kB / 1.188 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/1.026, allocations: 0.7872 MB / 1.189 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/1.026, allocations: 70.09 kB / 1.189 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.026, allocations: 84.91 kB / 1.189 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/1.027, allocations: 0.9531 MB / 1.19 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/1.027, allocations: 7.922 kB / 1.19 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/1.027, allocations: 37.19 kB / 1.19 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/1.027, allocations: 21.09 kB / 1.19 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/1.029, allocations: 1.13 MB / 1.191 GB, free: 14.32 MB / 0.9044 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.003741/1.033, allocations: 2.781 MB / 1.194 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/1.034, allocations: 0.8448 MB / 1.195 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/1.035, allocations: 327.9 kB / 1.195 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/1.035, allocations: 34.09 kB / 1.195 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007845/1.036, allocations: 0.5062 MB / 1.196 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=85): time 2.084e-06/1.036, allocations: 0 / 1.196 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=85): time 0.003089/1.039, allocations: 1.251 MB / 1.197 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/1.039, allocations: 189.4 kB / 1.197 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/1.04, allocations: 0.6517 MB / 1.198 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/1.04, allocations: 42.83 kB / 1.198 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/1.04, allocations: 415.2 kB / 1.198 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/1.04, allocations: 278.9 kB / 1.198 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/1.04, allocations: 165.1 kB / 1.199 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.041, allocations: 396.6 kB / 1.199 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/1.041, allocations: 274.8 kB / 1.199 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/1.042, allocations: 374 kB / 1.2 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.043, allocations: 0.6331 MB / 1.2 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.043, allocations: 4.656 kB / 1.2 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001818/1.045, allocations: 0.8839 MB / 1.201 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.045, allocations: 4.844 kB / 1.201 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.045, allocations: 0 / 1.201 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/1.045, allocations: 86.36 kB / 1.201 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/1.046, allocations: 172 kB / 1.201 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/1.048, allocations: 1.628 MB / 1.203 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/1.049, allocations: 107.1 kB / 1.203 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/1.049, allocations: 35.66 kB / 1.203 GB, free: 5.852 MB / 0.9044 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.0005185/1.049, allocations: 278.7 kB / 1.203 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/1.05, allocations: 83.97 kB / 1.203 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/1.052, allocations: 1.093 MB / 1.204 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.052, allocations: 10.62 kB / 1.204 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.052, allocations: 0 / 1.204 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.052, allocations: 7.984 kB / 1.204 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/1.053, allocations: 0.929 MB / 1.205 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.053, allocations: 0 / 1.205 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/1.054, allocations: 166.8 kB / 1.206 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/1.054, allocations: 71.95 kB / 1.206 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/1.054, allocations: 30.16 kB / 1.206 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/1.056, allocations: 1.646 MB / 1.207 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.056, allocations: 4.062 kB / 1.207 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/1.059, allocations: 1.363 MB / 1.209 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/1.059, allocations: 278.2 kB / 1.209 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.059, allocations: 28.61 kB / 1.209 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/1.06, allocations: 58.39 kB / 1.209 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/1.06, allocations: 84.03 kB / 1.209 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/1.06, allocations: 31.05 kB / 1.209 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005265/1.061, allocations: 479.6 kB / 1.209 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/1.061, allocations: 0 / 1.209 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008555/1.062, allocations: 331.3 kB / 1.21 GB, free: 1.07 MB / 0.9044 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.001493/1.063, allocations: 0.6111 MB / 1.21 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.065, allocations: 0.8517 MB / 1.211 GB, free: 15.78 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.065, allocations: 4 kB / 1.211 GB, free: 15.78 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009006/1.066, allocations: 0.5354 MB / 1.212 GB, free: 15.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/1.067, allocations: 311 kB / 1.212 GB, free: 14.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/1.07, allocations: 1.833 MB / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/1.07, allocations: 1.039 MB / 1.215 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007841/1.071, allocations: 270.8 kB / 1.215 GB, free: 11.75 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/1.071, allocations: 107.4 kB / 1.215 GB, free: 11.65 MB / 0.92 GB Notification: Performance of SimCode: time 1.352e-06/1.071, allocations: 0 / 1.215 GB, free: 11.65 MB / 0.92 GB Notification: Performance of Templates: time 0.02365/1.095, allocations: 15.42 MB / 1.23 GB, free: 12.39 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches