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.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.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.001412/0.001412, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001549/0.001549, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 469.4 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.67 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3222, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007246/0.3295, allocations: 4.93 MB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7174/1.047, allocations: 150.6 MB / 1.216 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/1.048, allocations: 19.47 kB / 1.216 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000915/1.049, allocations: 187.2 kB / 1.216 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/1.052, allocations: 0.5446 MB / 1.217 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/1.054, allocations: 0.8218 MB / 1.218 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002229/1.056, allocations: 1.365 MB / 1.219 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/1.058, allocations: 0.5728 MB / 1.22 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009559/1.059, allocations: 484.9 kB / 1.22 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/1.059, allocations: 0.4888 MB / 1.22 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/1.059, allocations: 114.1 kB / 1.221 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/1.061, allocations: 455.7 kB / 1.221 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/1.061, allocations: 293.8 kB / 1.221 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00057/1.061, allocations: 0.5473 MB / 1.222 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/1.064, allocations: 1.583 MB / 1.223 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/1.064, allocations: 0 / 1.223 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/1.064, allocations: 0 / 1.223 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.482e-05/1.064, allocations: 0 / 1.223 GB, free: 4.199 MB / 0.9356 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.002832/1.067, allocations: 1.426 MB / 1.225 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.067, allocations: 8.031 kB / 1.225 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/1.068, allocations: 186.4 kB / 1.225 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/1.069, allocations: 0.7434 MB / 1.226 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/1.069, allocations: 59.94 kB / 1.226 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/1.069, allocations: 80 kB / 1.226 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/1.07, allocations: 0.9109 MB / 1.227 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.07, allocations: 0 / 1.227 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/1.07, allocations: 34.84 kB / 1.227 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/1.071, allocations: 20.81 kB / 1.227 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/1.072, allocations: 1.1 MB / 1.228 GB, free: 1.172 MB / 0.9356 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.004217/1.076, allocations: 2.771 MB / 1.231 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/1.078, allocations: 0.7852 MB / 1.231 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/1.078, allocations: 295.6 kB / 1.232 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-05/1.078, allocations: 32.61 kB / 1.232 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008677/1.079, allocations: 491 kB / 1.232 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=78): time 3.166e-06/1.079, allocations: 0 / 1.232 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=78): time 0.003123/1.082, allocations: 1.178 MB / 1.233 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.083, allocations: 188.6 kB / 1.233 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/1.083, allocations: 0.6409 MB / 1.234 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/1.084, allocations: 45.7 kB / 1.234 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/1.084, allocations: 396.3 kB / 1.234 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/1.084, allocations: 252.4 kB / 1.235 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/1.084, allocations: 162.5 kB / 1.235 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.084, allocations: 386.7 kB / 1.235 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/1.085, allocations: 265.8 kB / 1.235 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/1.086, allocations: 368 kB / 1.236 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/1.087, allocations: 0.6003 MB / 1.236 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.087, allocations: 0 / 1.236 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001983/1.089, allocations: 0.8448 MB / 1.237 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.089, allocations: 4 kB / 1.237 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.089, allocations: 0 / 1.237 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/1.089, allocations: 88.88 kB / 1.237 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/1.09, allocations: 159.8 kB / 1.237 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/1.092, allocations: 1.638 MB / 1.239 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009263/1.093, allocations: 91.39 kB / 1.239 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/1.093, allocations: 35.97 kB / 1.239 GB, free: 5.332 MB / 0.9512 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.0005262/1.094, allocations: 272.1 kB / 1.239 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/1.094, allocations: 82.97 kB / 1.24 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/1.096, allocations: 1.045 MB / 1.241 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.096, allocations: 8 kB / 1.241 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.096, allocations: 0 / 1.241 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.096, allocations: 7.922 kB / 1.241 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/1.097, allocations: 0.8856 MB / 1.241 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.097, allocations: 7.938 kB / 1.241 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/1.098, allocations: 143.8 kB / 1.242 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/1.098, allocations: 72.45 kB / 1.242 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/1.098, allocations: 27.97 kB / 1.242 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/1.1, allocations: 1.659 MB / 1.243 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.1, allocations: 3.984 kB / 1.243 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.102, allocations: 0.9122 MB / 1.244 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/1.102, allocations: 271.6 kB / 1.244 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.103, allocations: 19.98 kB / 1.244 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/1.103, allocations: 67.94 kB / 1.245 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.103, allocations: 68.89 kB / 1.245 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/1.103, allocations: 31.98 kB / 1.245 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000544/1.104, allocations: 459 kB / 1.245 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/1.104, allocations: 0 / 1.245 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008661/1.105, allocations: 319.3 kB / 1.245 GB, free: 14.75 MB / 0.9669 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.001368/1.106, allocations: 0.6022 MB / 1.246 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002207/1.108, allocations: 1.015 MB / 1.247 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/1.108, allocations: 256 / 1.247 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00088/1.109, allocations: 0.5158 MB / 1.247 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.111, allocations: 296.8 kB / 1.248 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/1.114, allocations: 1.723 MB / 1.249 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/1.115, allocations: 1.019 MB / 1.25 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/1.115, allocations: 119.4 kB / 1.251 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/1.115, allocations: 0 / 1.251 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of Templates: time 0.02687/1.142, allocations: 18.33 MB / 1.268 GB, free: 7.305 MB / 0.9825 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 -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