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.00137/0.00137, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.321/1.321, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 65 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3098, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1709/0.4808, allocations: 163.8 MB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.4936, allocations: 7.809 MB / 1.22 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.4955, allocations: 27.88 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.4968, allocations: 345.9 kB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004427/0.5013, allocations: 1.189 MB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.5044, allocations: 1.026 MB / 1.223 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003753/0.5082, allocations: 2.558 MB / 1.225 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.51, allocations: 1.064 MB / 1.226 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.5113, allocations: 0.6963 MB / 1.227 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.513, allocations: 0.7685 MB / 1.228 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.5133, allocations: 72 kB / 1.228 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.5158, allocations: 1.138 MB / 1.229 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.5162, allocations: 354.7 kB / 1.229 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008456/0.517, allocations: 0.6993 MB / 1.23 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.5194, allocations: 1.777 MB / 1.232 GB, free: 372 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5194, allocations: 0 / 1.232 GB, free: 372 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5194, allocations: 4 kB / 1.232 GB, free: 368 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.243e-05/0.5195, allocations: 0 / 1.232 GB, free: 368 kB / 0.9825 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.003656/0.5231, allocations: 1.871 MB / 1.234 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.5232, allocations: 19.97 kB / 1.234 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.5251, allocations: 329.7 kB / 1.234 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.527, allocations: 0.9795 MB / 1.235 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.694e-05/0.5271, allocations: 82.2 kB / 1.235 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.5273, allocations: 112 kB / 1.235 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.5304, allocations: 1.168 MB / 1.236 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.5305, allocations: 7.984 kB / 1.236 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.5306, allocations: 48 kB / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.5307, allocations: 42.06 kB / 1.236 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/0.534, allocations: 1.319 MB / 1.238 GB, free: 10.2 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.008836/0.5429, allocations: 3.819 MB / 1.241 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.5457, allocations: 1.005 MB / 1.242 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009578/0.5467, allocations: 397.7 kB / 1.243 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.5469, allocations: 37.02 kB / 1.243 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.5484, allocations: 0.5864 MB / 1.243 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 4.348e-06/0.5485, allocations: 0 / 1.243 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.005182/0.5536, allocations: 1.439 MB / 1.245 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002757/0.554, allocations: 196.8 kB / 1.245 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.5557, allocations: 0.8337 MB / 1.246 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.5559, allocations: 49.7 kB / 1.246 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006588/0.5566, allocations: 0.5159 MB / 1.246 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.5571, allocations: 343 kB / 1.247 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004333/0.5576, allocations: 198.5 kB / 1.247 GB, free: 460 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5578, allocations: 345.9 kB / 1.247 GB, free: 108 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5171/1.075, allocations: 332.5 kB / 1.247 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009156/1.076, allocations: 475 kB / 1.248 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/1.077, allocations: 0.8025 MB / 1.249 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.077, allocations: 4.344 kB / 1.249 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00272/1.08, allocations: 1.078 MB / 1.25 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/1.08, allocations: 7.031 kB / 1.25 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.08, allocations: 3.531 kB / 1.25 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/1.081, allocations: 84.89 kB / 1.25 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/1.082, allocations: 224.8 kB / 1.25 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/1.084, allocations: 1.522 MB / 1.251 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.085, allocations: 118.2 kB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.721e-05/1.085, allocations: 49.34 kB / 1.252 GB, free: 191.3 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.0006216/1.086, allocations: 314 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/1.086, allocations: 118.6 kB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/1.088, allocations: 1.242 MB / 1.253 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.088, allocations: 15.09 kB / 1.253 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.088, allocations: 0 / 1.253 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/1.088, allocations: 8.531 kB / 1.253 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/1.09, allocations: 1.169 MB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/1.09, allocations: 0.5469 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008341/1.091, allocations: 207.4 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005086/1.091, allocations: 84.89 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/1.091, allocations: 32.02 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/1.093, allocations: 1.542 MB / 1.256 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.093, allocations: 12.73 kB / 1.256 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/1.096, allocations: 1.562 MB / 1.258 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/1.096, allocations: 331.5 kB / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.096, allocations: 21.22 kB / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000847/1.097, allocations: 83.86 kB / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.097, allocations: 80.47 kB / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/1.097, allocations: 41.61 kB / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007662/1.098, allocations: 0.58 MB / 1.259 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.098, allocations: 3.281 kB / 1.259 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00107/1.099, allocations: 429.6 kB / 1.259 GB, free: 189.1 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.001475/1.101, allocations: 0.6192 MB / 1.26 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00199/1.103, allocations: 0.9978 MB / 1.261 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.103, allocations: 2.812 kB / 1.261 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/1.104, allocations: 0.5951 MB / 1.261 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/1.106, allocations: 455.3 kB / 1.262 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/1.111, allocations: 3.055 MB / 1.265 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008125/1.112, allocations: 1.154 MB / 1.266 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/1.112, allocations: 136.5 kB / 1.266 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.11e-07/1.112, allocations: 0 / 1.266 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04137/1.154, allocations: 24.59 MB / 1.29 GB, free: 177.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/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