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 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.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.001228/0.001228, allocations: 112.6 kB / 16.37 MB, free: 6 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.001197/0.001197, allocations: 196 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.291/1.291, 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.499/2.499, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.44 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3544, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.9048/1.259, allocations: 166.1 MB / 1.189 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01318/1.273, allocations: 7.797 MB / 1.197 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/1.274, allocations: 46.53 kB / 1.197 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/1.276, allocations: 400.4 kB / 1.197 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/1.28, allocations: 1.322 MB / 1.198 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/1.284, allocations: 1.158 MB / 1.199 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003844/1.288, allocations: 2.352 MB / 1.202 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/1.289, allocations: 1.193 MB / 1.203 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/1.291, allocations: 0.8217 MB / 1.204 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/1.292, allocations: 0.7891 MB / 1.204 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/1.293, allocations: 149.9 kB / 1.205 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/1.295, allocations: 1.117 MB / 1.206 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/1.296, allocations: 427.6 kB / 1.206 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007985/1.296, allocations: 0.7828 MB / 1.207 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003384/1.3, allocations: 2.402 MB / 1.209 GB, free: 15.67 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.3, allocations: 0 / 1.209 GB, free: 15.67 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/1.3, allocations: 0 / 1.209 GB, free: 15.67 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.96e-05/1.3, allocations: 0 / 1.209 GB, free: 15.67 MB / 0.92 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.003576/1.303, allocations: 1.884 MB / 1.211 GB, free: 14.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/1.303, allocations: 7.688 kB / 1.211 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/1.305, allocations: 331 kB / 1.211 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/1.307, allocations: 1.02 MB / 1.212 GB, free: 13.28 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/1.307, allocations: 83.92 kB / 1.212 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/1.307, allocations: 110.2 kB / 1.212 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/1.309, allocations: 1.171 MB / 1.214 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.309, allocations: 2.406 kB / 1.214 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.309, allocations: 45.91 kB / 1.214 GB, free: 12.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/1.309, allocations: 39.62 kB / 1.214 GB, free: 12.4 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/1.312, allocations: 1.315 MB / 1.215 GB, free: 11.76 MB / 0.92 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.00574/1.317, allocations: 3.804 MB / 1.219 GB, free: 8.453 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/1.319, allocations: 0.9932 MB / 1.22 GB, free: 7.449 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006417/1.32, allocations: 395.6 kB / 1.22 GB, free: 7.059 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.002e-05/1.32, allocations: 37.02 kB / 1.22 GB, free: 7.023 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009686/1.321, allocations: 0.5942 MB / 1.221 GB, free: 6.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=102): time 2.584e-06/1.321, allocations: 0 / 1.221 GB, free: 6.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=102): time 0.003678/1.324, allocations: 1.439 MB / 1.222 GB, free: 4.945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.325, allocations: 192.9 kB / 1.222 GB, free: 4.715 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.326, allocations: 0.8376 MB / 1.223 GB, free: 3.852 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.326, allocations: 49.7 kB / 1.223 GB, free: 3.797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/1.326, allocations: 0.5198 MB / 1.224 GB, free: 3.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/1.327, allocations: 347 kB / 1.224 GB, free: 2.926 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/1.327, allocations: 194.5 kB / 1.224 GB, free: 2.727 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.327, allocations: 345.9 kB / 1.224 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006053/1.328, allocations: 337.8 kB / 1.225 GB, free: 2.055 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007311/1.328, allocations: 480.2 kB / 1.225 GB, free: 1.555 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/1.33, allocations: 0.8049 MB / 1.226 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.33, allocations: 0 / 1.226 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002322/1.332, allocations: 1.075 MB / 1.227 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.332, allocations: 10.12 kB / 1.227 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.332, allocations: 4 kB / 1.227 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/1.333, allocations: 81 kB / 1.227 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/1.334, allocations: 215.7 kB / 1.227 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/1.336, allocations: 1.635 MB / 1.229 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.337, allocations: 110.2 kB / 1.229 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.984e-05/1.337, allocations: 43.97 kB / 1.229 GB, free: 13.4 MB / 0.9356 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.0006179/1.338, allocations: 323.4 kB / 1.229 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/1.338, allocations: 118.7 kB / 1.23 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/1.34, allocations: 1.238 MB / 1.231 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.34, allocations: 12 kB / 1.231 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.34, allocations: 0 / 1.231 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/1.341, allocations: 8.016 kB / 1.231 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/1.342, allocations: 1.169 MB / 1.232 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.342, allocations: 0 / 1.232 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000872/1.343, allocations: 211.8 kB / 1.232 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/1.343, allocations: 68.8 kB / 1.232 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/1.343, allocations: 35.91 kB / 1.232 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/1.345, allocations: 1.654 MB / 1.234 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.345, allocations: 3.938 kB / 1.234 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/1.348, allocations: 1.574 MB / 1.235 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006153/1.349, allocations: 327.2 kB / 1.236 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/1.349, allocations: 24 kB / 1.236 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008039/1.35, allocations: 69.42 kB / 1.236 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.35, allocations: 80.83 kB / 1.236 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/1.35, allocations: 39.97 kB / 1.236 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007817/1.351, allocations: 0.5897 MB / 1.236 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.351, allocations: 0 / 1.236 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001097/1.352, allocations: 430.9 kB / 1.237 GB, free: 5.188 MB / 0.9356 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.00144/1.354, allocations: 0.6264 MB / 1.238 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001954/1.355, allocations: 0.9922 MB / 1.238 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/1.355, allocations: 7.938 kB / 1.238 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.357, allocations: 0.6017 MB / 1.239 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.358, allocations: 496.1 kB / 1.24 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/1.362, allocations: 2.438 MB / 1.242 GB, free: 196 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/1.363, allocations: 1.158 MB / 1.243 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001081/1.364, allocations: 321.2 kB / 1.243 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/1.365, allocations: 119.4 kB / 1.243 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of SimCode: time 7.81e-07/1.365, allocations: 0 / 1.243 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of Templates: time 0.03478/1.399, allocations: 20.85 MB / 1.264 GB, free: 9.953 MB / 0.9669 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches