Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 119.8 kB / 16.37 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.001109/0.001109, allocations: 193 kB / 17.31 MB, free: 5.613 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.41/2.41, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001284, allocations: 60.69 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3123, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006801/0.3192, allocations: 4.944 MB / 1.032 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6669/0.9861, allocations: 150.6 MB / 1.179 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007652/0.9869, allocations: 19.72 kB / 1.179 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.9875, allocations: 185.1 kB / 1.179 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.9892, allocations: 0.5463 MB / 1.179 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.9911, allocations: 0.8301 MB / 1.18 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.9925, allocations: 1.375 MB / 1.181 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009518/0.9935, allocations: 0.5686 MB / 1.182 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006742/0.9942, allocations: 488.6 kB / 1.183 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.9947, allocations: 497.4 kB / 1.183 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.9949, allocations: 114.8 kB / 1.183 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.9959, allocations: 489.2 kB / 1.184 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.9962, allocations: 293.8 kB / 1.184 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005084/0.9967, allocations: 0.5556 MB / 1.184 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.9986, allocations: 1.61 MB / 1.186 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9986, allocations: 1 kB / 1.186 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9986, allocations: 0 / 1.186 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.9986, allocations: 0 / 1.186 GB, free: 2.039 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002824/1.001, allocations: 1.424 MB / 1.187 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.001, allocations: 9.094 kB / 1.187 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009989/1.003, allocations: 192.2 kB / 1.188 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/1.004, allocations: 0.7535 MB / 1.188 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/1.004, allocations: 63.61 kB / 1.188 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/1.004, allocations: 80.72 kB / 1.188 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/1.006, allocations: 0.9071 MB / 1.189 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/1.006, allocations: 5.688 kB / 1.189 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.154e-05/1.006, allocations: 32.81 kB / 1.189 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/1.006, allocations: 24.69 kB / 1.189 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/1.008, allocations: 1.096 MB / 1.19 GB, free: 14.99 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.004081/1.012, allocations: 2.731 MB / 1.193 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/1.013, allocations: 0.7929 MB / 1.194 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/1.014, allocations: 294.3 kB / 1.194 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.546e-05/1.014, allocations: 29.5 kB / 1.194 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007575/1.015, allocations: 498.5 kB / 1.195 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=78): time 2.525e-06/1.015, allocations: 3.938 kB / 1.195 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=78): time 0.002934/1.018, allocations: 1.168 MB / 1.196 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/1.018, allocations: 194.2 kB / 1.196 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007157/1.018, allocations: 0.639 MB / 1.197 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/1.019, allocations: 40.55 kB / 1.197 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/1.019, allocations: 412.1 kB / 1.197 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/1.019, allocations: 250 kB / 1.197 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/1.019, allocations: 157.7 kB / 1.197 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.019, allocations: 387.6 kB / 1.198 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/1.02, allocations: 262.7 kB / 1.198 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/1.02, allocations: 366.4 kB / 1.198 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/1.021, allocations: 0.6009 MB / 1.199 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.021, allocations: 0 / 1.199 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001849/1.023, allocations: 0.8478 MB / 1.2 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.023, allocations: 5.031 kB / 1.2 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.023, allocations: 1.812 kB / 1.2 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/1.024, allocations: 88.2 kB / 1.2 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/1.025, allocations: 157.9 kB / 1.2 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/1.027, allocations: 1.639 MB / 1.202 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/1.027, allocations: 88.2 kB / 1.202 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/1.027, allocations: 38.53 kB / 1.202 GB, free: 6.703 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004048/1.028, allocations: 267.9 kB / 1.202 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.028, allocations: 82.44 kB / 1.202 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/1.03, allocations: 1.038 MB / 1.203 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/1.03, allocations: 10.66 kB / 1.203 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/1.03, allocations: 0 / 1.203 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.03, allocations: 11.92 kB / 1.203 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/1.031, allocations: 0.8809 MB / 1.204 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.031, allocations: 3.984 kB / 1.204 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/1.032, allocations: 139.4 kB / 1.204 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/1.032, allocations: 77.55 kB / 1.204 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/1.032, allocations: 31.75 kB / 1.204 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/1.034, allocations: 1.65 MB / 1.206 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.034, allocations: 0 / 1.206 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/1.036, allocations: 0.918 MB / 1.207 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/1.037, allocations: 271.5 kB / 1.207 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.037, allocations: 20.34 kB / 1.207 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/1.037, allocations: 63.45 kB / 1.207 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.038, allocations: 65.41 kB / 1.207 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/1.038, allocations: 38.25 kB / 1.207 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005481/1.038, allocations: 457.5 kB / 1.208 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.038, allocations: 0 / 1.208 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008846/1.039, allocations: 320.2 kB / 1.208 GB, free: 2.305 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001289/1.04, allocations: 0.6019 MB / 1.209 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001609/1.042, allocations: 0.8201 MB / 1.209 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.042, allocations: 2.125 kB / 1.209 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008806/1.043, allocations: 0.5056 MB / 1.21 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.044, allocations: 311.3 kB / 1.21 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/1.047, allocations: 1.663 MB / 1.212 GB, free: 15.28 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/1.048, allocations: 1.023 MB / 1.213 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007312/1.048, allocations: 262.5 kB / 1.213 GB, free: 13.96 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/1.048, allocations: 95.39 kB / 1.213 GB, free: 13.87 MB / 0.92 GB Notification: Performance of SimCode: time 8.82e-07/1.049, allocations: 0 / 1.213 GB, free: 13.87 MB / 0.92 GB Notification: Performance of Templates: time 0.02382/1.072, allocations: 15.01 MB / 1.228 GB, free: 15.03 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches