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.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.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.005059/0.005059, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001212/0.001212, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 461.8 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 59.91 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.425, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.9354/1.36, allocations: 166.1 MB / 1.37 GB, free: 1.828 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0133/1.374, allocations: 7.807 MB / 1.378 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/1.376, allocations: 34.41 kB / 1.378 GB, free: 12.26 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/1.377, allocations: 396.9 kB / 1.378 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004264/1.382, allocations: 1.32 MB / 1.379 GB, free: 11.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/1.385, allocations: 1.173 MB / 1.38 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003685/1.389, allocations: 2.365 MB / 1.383 GB, free: 8.852 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/1.39, allocations: 1.181 MB / 1.384 GB, free: 8.066 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/1.392, allocations: 0.8229 MB / 1.385 GB, free: 7.574 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/1.393, allocations: 0.7884 MB / 1.385 GB, free: 7.047 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002476/1.394, allocations: 158.8 kB / 1.386 GB, free: 7.039 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/1.396, allocations: 1.125 MB / 1.387 GB, free: 6.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000403/1.397, allocations: 423.1 kB / 1.387 GB, free: 6.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007955/1.397, allocations: 0.7801 MB / 1.388 GB, free: 5.625 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003972/1.401, allocations: 2.405 MB / 1.39 GB, free: 3.953 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.401, allocations: 0 / 1.39 GB, free: 3.953 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.304e-06/1.401, allocations: 1.062 kB / 1.39 GB, free: 3.953 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.916e-05/1.401, allocations: 0 / 1.39 GB, free: 3.953 MB / 1.076 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.003867/1.405, allocations: 1.879 MB / 1.392 GB, free: 2.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.405, allocations: 10.34 kB / 1.392 GB, free: 2.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/1.407, allocations: 330.8 kB / 1.392 GB, free: 2.363 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/1.409, allocations: 1.014 MB / 1.393 GB, free: 1.566 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/1.409, allocations: 84.39 kB / 1.393 GB, free: 1.527 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.409, allocations: 115.1 kB / 1.394 GB, free: 1.484 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/1.412, allocations: 1.171 MB / 1.395 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/1.412, allocations: 5.031 kB / 1.395 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.412, allocations: 51.41 kB / 1.395 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/1.412, allocations: 38.97 kB / 1.395 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/1.414, allocations: 1.315 MB / 1.396 GB, free: 36 kB / 1.076 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.00564/1.42, allocations: 3.801 MB / 1.4 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/1.422, allocations: 0.9925 MB / 1.401 GB, free: 12.41 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007754/1.423, allocations: 398.9 kB / 1.401 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.615e-05/1.423, allocations: 30.66 kB / 1.401 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/1.424, allocations: 0.5878 MB / 1.402 GB, free: 11.82 MB / 1.092 GB Notification: Performance of pre-optimization done (n=102): time 2.755e-06/1.424, allocations: 0 / 1.402 GB, free: 11.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=102): time 0.003704/1.427, allocations: 1.445 MB / 1.403 GB, free: 11.05 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/1.428, allocations: 193.3 kB / 1.403 GB, free: 10.84 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/1.429, allocations: 0.8327 MB / 1.404 GB, free: 10.35 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/1.429, allocations: 43.23 kB / 1.404 GB, free: 10.31 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/1.429, allocations: 0.5277 MB / 1.405 GB, free: 9.84 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/1.429, allocations: 332.8 kB / 1.405 GB, free: 9.551 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/1.43, allocations: 202.4 kB / 1.405 GB, free: 9.426 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.43, allocations: 342.7 kB / 1.406 GB, free: 9.094 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/1.431, allocations: 347.3 kB / 1.406 GB, free: 8.922 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/1.431, allocations: 473.1 kB / 1.406 GB, free: 8.629 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/1.433, allocations: 0.8038 MB / 1.407 GB, free: 8.164 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.433, allocations: 0 / 1.407 GB, free: 8.164 MB / 1.092 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002226/1.435, allocations: 1.075 MB / 1.408 GB, free: 7.625 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.435, allocations: 9.109 kB / 1.408 GB, free: 7.621 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.435, allocations: 2.75 kB / 1.408 GB, free: 7.621 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/1.435, allocations: 82.34 kB / 1.408 GB, free: 7.582 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/1.436, allocations: 221.9 kB / 1.408 GB, free: 7.527 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.438, allocations: 1.642 MB / 1.41 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.44, allocations: 106.8 kB / 1.41 GB, free: 5.844 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/1.44, allocations: 45.78 kB / 1.41 GB, free: 5.828 MB / 1.092 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.0006353/1.44, allocations: 315.5 kB / 1.41 GB, free: 5.594 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/1.441, allocations: 119 kB / 1.411 GB, free: 5.531 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/1.443, allocations: 1.236 MB / 1.412 GB, free: 4.844 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/1.443, allocations: 24.23 kB / 1.412 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.443, allocations: 0 / 1.412 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.443, allocations: 7.969 kB / 1.412 GB, free: 4.824 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/1.445, allocations: 1.166 MB / 1.413 GB, free: 3.883 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.445, allocations: 0 / 1.413 GB, free: 3.883 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/1.446, allocations: 215.7 kB / 1.413 GB, free: 3.672 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/1.446, allocations: 68.8 kB / 1.413 GB, free: 3.602 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.826e-05/1.446, allocations: 27.97 kB / 1.413 GB, free: 3.574 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/1.448, allocations: 1.65 MB / 1.415 GB, free: 1.781 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.448, allocations: 7.969 kB / 1.415 GB, free: 1.773 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/1.451, allocations: 1.57 MB / 1.416 GB, free: 184 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/1.452, allocations: 319.3 kB / 1.417 GB, free: 15.85 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/1.452, allocations: 31.91 kB / 1.417 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/1.453, allocations: 74.11 kB / 1.417 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.453, allocations: 80.89 kB / 1.417 GB, free: 15.67 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/1.453, allocations: 48.03 kB / 1.417 GB, free: 15.62 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007977/1.454, allocations: 0.578 MB / 1.418 GB, free: 15.03 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.11e-07/1.454, allocations: 0 / 1.418 GB, free: 15.03 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00121/1.455, allocations: 431 kB / 1.418 GB, free: 14.61 MB / 1.107 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.001445/1.456, allocations: 0.6252 MB / 1.419 GB, free: 14.16 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00189/1.458, allocations: 0.9991 MB / 1.42 GB, free: 13.15 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.458, allocations: 0 / 1.42 GB, free: 13.15 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009977/1.459, allocations: 0.6138 MB / 1.42 GB, free: 12.53 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.461, allocations: 483.2 kB / 1.421 GB, free: 12.08 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/1.465, allocations: 2.437 MB / 1.423 GB, free: 9.613 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/1.466, allocations: 1.158 MB / 1.424 GB, free: 8.426 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009933/1.467, allocations: 329.1 kB / 1.424 GB, free: 8.102 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/1.467, allocations: 127.3 kB / 1.425 GB, free: 7.98 MB / 1.107 GB Notification: Performance of SimCode: time 4.51e-07/1.467, allocations: 0 / 1.425 GB, free: 7.98 MB / 1.107 GB Notification: Performance of Templates: time 0.03771/1.505, allocations: 21.43 MB / 1.445 GB, free: 2.789 MB / 1.123 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