Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001854/0.001854, allocations: 198.6 kB / 16.14 MB, free: 6.645 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.7 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 64.34 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3294, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2038/0.5332, allocations: 163.8 MB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.5467, allocations: 7.824 MB / 1.235 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.5487, allocations: 35.81 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.5504, allocations: 333.9 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.5545, allocations: 1.19 MB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.5577, allocations: 1.022 MB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003595/0.5613, allocations: 2.551 MB / 1.24 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.563, allocations: 1.072 MB / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.564, allocations: 0.6885 MB / 1.242 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.5653, allocations: 0.7693 MB / 1.243 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.5654, allocations: 72 kB / 1.243 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.5676, allocations: 1.142 MB / 1.244 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.568, allocations: 350.6 kB / 1.244 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.5687, allocations: 0.7031 MB / 1.245 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.5714, allocations: 2.337 MB / 1.247 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5715, allocations: 0 / 1.247 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5715, allocations: 4 kB / 1.247 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.5715, allocations: 0 / 1.247 GB, free: 2.336 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003378/0.5749, allocations: 1.879 MB / 1.249 GB, free: 404 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5749, allocations: 12.03 kB / 1.249 GB, free: 392 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.5769, allocations: 325.8 kB / 1.249 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6978/1.275, allocations: 0.9793 MB / 1.25 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/1.275, allocations: 83.59 kB / 1.25 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/1.275, allocations: 105.9 kB / 1.25 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/1.278, allocations: 1.172 MB / 1.252 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/1.278, allocations: 1.594 kB / 1.252 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.278, allocations: 50.84 kB / 1.252 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/1.278, allocations: 42.48 kB / 1.252 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/1.281, allocations: 1.31 MB / 1.253 GB, free: 184.5 MB / 0.9981 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.006295/1.287, allocations: 3.826 MB / 1.257 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/1.289, allocations: 0.9995 MB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006415/1.29, allocations: 399.7 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.8e-05/1.29, allocations: 36.66 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/1.291, allocations: 0.5852 MB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 3.276e-06/1.291, allocations: 1.031 kB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003702/1.294, allocations: 1.442 MB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/1.295, allocations: 193.3 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.296, allocations: 0.8394 MB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/1.296, allocations: 46.95 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/1.296, allocations: 0.5156 MB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/1.296, allocations: 353.6 kB / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/1.297, allocations: 194.3 kB / 1.262 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/1.297, allocations: 342.5 kB / 1.262 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/1.298, allocations: 335.9 kB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007217/1.298, allocations: 480 kB / 1.263 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/1.3, allocations: 0.8022 MB / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.3, allocations: 0 / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002372/1.302, allocations: 1.075 MB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.302, allocations: 8.328 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.302, allocations: 0 / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/1.303, allocations: 86.77 kB / 1.265 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/1.304, allocations: 218.7 kB / 1.265 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/1.306, allocations: 1.524 MB / 1.267 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.307, allocations: 126.3 kB / 1.267 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.307, allocations: 49 kB / 1.267 GB, free: 177.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.0006815/1.308, allocations: 316.9 kB / 1.267 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/1.308, allocations: 114.1 kB / 1.267 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/1.311, allocations: 1.249 MB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.311, allocations: 10.84 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.311, allocations: 0.6875 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.311, allocations: 13.42 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/1.313, allocations: 1.158 MB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.313, allocations: 0.7031 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009313/1.314, allocations: 201.8 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005436/1.314, allocations: 90.7 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/1.314, allocations: 27.23 kB / 1.27 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/1.316, allocations: 1.556 MB / 1.272 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.316, allocations: 4.062 kB / 1.272 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/1.319, allocations: 1.574 MB / 1.273 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/1.32, allocations: 325.1 kB / 1.273 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.32, allocations: 23.98 kB / 1.273 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009452/1.321, allocations: 79.92 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/1.321, allocations: 82.16 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.321, allocations: 42.73 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001053/1.322, allocations: 0.583 MB / 1.274 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.322, allocations: 0.5 kB / 1.274 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001248/1.324, allocations: 429.9 kB / 1.275 GB, free: 173.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.001393/1.325, allocations: 0.6319 MB / 1.275 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002026/1.327, allocations: 0.9973 MB / 1.276 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.327, allocations: 0 / 1.276 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/1.328, allocations: 0.5995 MB / 1.277 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.33, allocations: 444.9 kB / 1.277 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/1.335, allocations: 3.009 MB / 1.28 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/1.336, allocations: 1.158 MB / 1.281 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00136/1.337, allocations: 326.5 kB / 1.282 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/1.337, allocations: 118.6 kB / 1.282 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.337, allocations: 0 / 1.282 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03709/1.374, allocations: 19.94 MB / 1.301 GB, free: 161.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches