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.001341/0.001341, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.001494/0.001495, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.457/2.457, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.78 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3016, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006978/0.3086, allocations: 5.25 MB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7091/1.018, allocations: 150.7 MB / 1.179 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/1.019, allocations: 20.34 kB / 1.179 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000652/1.02, allocations: 199.2 kB / 1.179 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/1.022, allocations: 0.5608 MB / 1.18 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/1.024, allocations: 0.8486 MB / 1.181 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001904/1.026, allocations: 1.461 MB / 1.182 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009579/1.027, allocations: 0.597 MB / 1.183 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008898/1.027, allocations: 0.5064 MB / 1.183 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/1.028, allocations: 0.5187 MB / 1.184 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/1.028, allocations: 120.9 kB / 1.184 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/1.029, allocations: 495.8 kB / 1.184 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/1.03, allocations: 307.1 kB / 1.184 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005771/1.03, allocations: 0.58 MB / 1.185 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/1.032, allocations: 1.688 MB / 1.187 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.032, allocations: 5.031 kB / 1.187 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/1.032, allocations: 0 / 1.187 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.033, allocations: 0 / 1.187 GB, free: 1.707 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.002781/1.035, allocations: 1.485 MB / 1.188 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.035, allocations: 9.219 kB / 1.188 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/1.036, allocations: 194.7 kB / 1.188 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/1.038, allocations: 0.7923 MB / 1.189 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/1.038, allocations: 65.62 kB / 1.189 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/1.038, allocations: 87.09 kB / 1.189 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/1.039, allocations: 0.9469 MB / 1.19 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/1.04, allocations: 2.312 kB / 1.19 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/1.04, allocations: 37 kB / 1.19 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/1.04, allocations: 25.23 kB / 1.19 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/1.042, allocations: 1.134 MB / 1.191 GB, free: 14.56 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.00441/1.046, allocations: 2.788 MB / 1.194 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/1.048, allocations: 0.8412 MB / 1.195 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/1.048, allocations: 322.6 kB / 1.195 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/1.048, allocations: 32.03 kB / 1.195 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008737/1.049, allocations: 0.5137 MB / 1.196 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=85): time 2.495e-06/1.049, allocations: 0 / 1.196 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=85): time 0.003276/1.052, allocations: 1.244 MB / 1.197 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/1.052, allocations: 199.5 kB / 1.197 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/1.053, allocations: 0.6502 MB / 1.198 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/1.054, allocations: 45.27 kB / 1.198 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/1.054, allocations: 411.8 kB / 1.198 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/1.054, allocations: 283.2 kB / 1.198 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/1.054, allocations: 164.7 kB / 1.199 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.055, allocations: 393.8 kB / 1.199 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/1.055, allocations: 276.5 kB / 1.199 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/1.056, allocations: 378.2 kB / 1.2 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.057, allocations: 0.6293 MB / 1.2 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.057, allocations: 0 / 1.2 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002282/1.059, allocations: 0.8874 MB / 1.201 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/1.059, allocations: 4.719 kB / 1.201 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.059, allocations: 1.969 kB / 1.201 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/1.06, allocations: 83.67 kB / 1.201 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007377/1.061, allocations: 171 kB / 1.201 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/1.063, allocations: 1.626 MB / 1.203 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/1.064, allocations: 105.2 kB / 1.203 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/1.064, allocations: 30.73 kB / 1.203 GB, free: 6.109 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.0005742/1.065, allocations: 278 kB / 1.203 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/1.065, allocations: 85.28 kB / 1.203 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/1.067, allocations: 1.097 MB / 1.204 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.067, allocations: 10.22 kB / 1.204 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.067, allocations: 0 / 1.204 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.067, allocations: 3.984 kB / 1.204 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/1.069, allocations: 0.9252 MB / 1.205 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.069, allocations: 2.844 kB / 1.205 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/1.07, allocations: 164.7 kB / 1.206 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00042/1.07, allocations: 71.98 kB / 1.206 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/1.07, allocations: 30.16 kB / 1.206 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/1.072, allocations: 1.647 MB / 1.207 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.072, allocations: 0 / 1.207 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/1.075, allocations: 1.371 MB / 1.209 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005041/1.075, allocations: 274.5 kB / 1.209 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.075, allocations: 20.97 kB / 1.209 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/1.076, allocations: 66.2 kB / 1.209 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.076, allocations: 76.17 kB / 1.209 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/1.076, allocations: 38.45 kB / 1.209 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006557/1.077, allocations: 472.7 kB / 1.209 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.077, allocations: 0 / 1.209 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001017/1.078, allocations: 332.9 kB / 1.21 GB, free: 1.262 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.001482/1.079, allocations: 0.623 MB / 1.21 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001916/1.081, allocations: 0.8597 MB / 1.211 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.081, allocations: 0 / 1.211 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009479/1.082, allocations: 0.5275 MB / 1.212 GB, free: 15.41 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.084, allocations: 313.6 kB / 1.212 GB, free: 15.12 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/1.087, allocations: 1.833 MB / 1.214 GB, free: 13.26 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/1.088, allocations: 1.039 MB / 1.215 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008626/1.089, allocations: 266.8 kB / 1.215 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/1.089, allocations: 107.4 kB / 1.215 GB, free: 11.82 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/1.089, allocations: 0 / 1.215 GB, free: 11.82 MB / 0.92 GB Notification: Performance of Templates: time 0.02587/1.115, allocations: 15.43 MB / 1.23 GB, free: 12.56 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 gbode -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