Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_11_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.007662/0.007662, allocations: 97.02 kB / 15.73 MB, free: 6.055 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.001766/0.001766, allocations: 197.9 kB / 16.67 MB, free: 5.977 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.735/2.735, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3369, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 1.066/1.403, allocations: 166.5 MB / 1.383 GB, free: 3.375 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02018/1.423, allocations: 7.823 MB / 1.391 GB, free: 13.16 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/1.426, allocations: 35.03 kB / 1.391 GB, free: 13.15 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/1.427, allocations: 412.6 kB / 1.391 GB, free: 12.8 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005392/1.433, allocations: 1.351 MB / 1.393 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00397/1.437, allocations: 1.175 MB / 1.394 GB, free: 10.87 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004432/1.441, allocations: 2.359 MB / 1.396 GB, free: 9.441 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/1.443, allocations: 0.9798 MB / 1.397 GB, free: 8.715 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/1.446, allocations: 0.8254 MB / 1.398 GB, free: 8.219 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/1.448, allocations: 0.7861 MB / 1.399 GB, free: 7.691 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005386/1.448, allocations: 151.6 kB / 1.399 GB, free: 7.691 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/1.451, allocations: 1.133 MB / 1.4 GB, free: 7.145 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000699/1.452, allocations: 435.3 kB / 1.4 GB, free: 6.812 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002072/1.454, allocations: 0.7785 MB / 1.401 GB, free: 6.258 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006042/1.46, allocations: 2.416 MB / 1.403 GB, free: 4.574 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.46, allocations: 0 / 1.403 GB, free: 4.574 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.953e-06/1.46, allocations: 0 / 1.403 GB, free: 4.574 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001181/1.46, allocations: 1.188 kB / 1.403 GB, free: 4.574 MB / 1.092 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.006942/1.467, allocations: 1.926 MB / 1.405 GB, free: 3.094 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/1.467, allocations: 9.375 kB / 1.405 GB, free: 3.094 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/1.47, allocations: 332.9 kB / 1.406 GB, free: 2.938 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/1.473, allocations: 1.027 MB / 1.407 GB, free: 2.125 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/1.473, allocations: 78.39 kB / 1.407 GB, free: 2.09 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/1.473, allocations: 112.6 kB / 1.407 GB, free: 2.051 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/1.476, allocations: 1.174 MB / 1.408 GB, free: 1.285 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/1.476, allocations: 1.469 kB / 1.408 GB, free: 1.285 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/1.476, allocations: 47.34 kB / 1.408 GB, free: 1.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-05/1.476, allocations: 38.94 kB / 1.408 GB, free: 1.246 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/1.478, allocations: 1.312 MB / 1.409 GB, free: 0.6094 MB / 1.092 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.007297/1.486, allocations: 3.826 MB / 1.413 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/1.488, allocations: 0.9449 MB / 1.414 GB, free: 12.99 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/1.489, allocations: 367.2 kB / 1.414 GB, free: 12.8 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/1.49, allocations: 41.7 kB / 1.414 GB, free: 12.78 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/1.491, allocations: 0.5887 MB / 1.415 GB, free: 12.4 MB / 1.107 GB Notification: Performance of pre-optimization done (n=102): time 5.851e-06/1.491, allocations: 0 / 1.415 GB, free: 12.4 MB / 1.107 GB Notification: Performance of matching and sorting (n=102): time 0.005599/1.497, allocations: 1.442 MB / 1.416 GB, free: 11.64 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/1.497, allocations: 199.3 kB / 1.417 GB, free: 11.41 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/1.499, allocations: 0.8372 MB / 1.417 GB, free: 10.92 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/1.499, allocations: 46.64 kB / 1.417 GB, free: 10.88 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007056/1.5, allocations: 0.5331 MB / 1.418 GB, free: 10.4 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005349/1.5, allocations: 358.5 kB / 1.418 GB, free: 10.09 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005264/1.501, allocations: 199.1 kB / 1.418 GB, free: 9.969 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.501, allocations: 344.6 kB / 1.419 GB, free: 9.637 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/1.502, allocations: 332.3 kB / 1.419 GB, free: 9.477 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/1.504, allocations: 489.2 kB / 1.42 GB, free: 9.043 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/1.506, allocations: 0.7971 MB / 1.42 GB, free: 8.215 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.506, allocations: 0 / 1.42 GB, free: 8.215 MB / 1.107 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003866/1.51, allocations: 1.079 MB / 1.421 GB, free: 7.125 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.51, allocations: 4 kB / 1.421 GB, free: 7.121 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.51, allocations: 4 kB / 1.421 GB, free: 7.117 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009126/1.511, allocations: 88.98 kB / 1.421 GB, free: 7.027 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/1.512, allocations: 216.4 kB / 1.422 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/1.515, allocations: 1.639 MB / 1.423 GB, free: 5.035 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.517, allocations: 116.1 kB / 1.423 GB, free: 4.922 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/1.517, allocations: 43.97 kB / 1.423 GB, free: 4.879 MB / 1.107 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.001323/1.519, allocations: 319.8 kB / 1.424 GB, free: 4.559 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/1.519, allocations: 119.2 kB / 1.424 GB, free: 4.441 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/1.524, allocations: 1.243 MB / 1.425 GB, free: 3.188 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/1.524, allocations: 12 kB / 1.425 GB, free: 3.176 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.524, allocations: 4 kB / 1.425 GB, free: 3.172 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.524, allocations: 7.984 kB / 1.425 GB, free: 3.164 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/1.527, allocations: 1.165 MB / 1.426 GB, free: 1.945 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.527, allocations: 0 / 1.426 GB, free: 1.945 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/1.529, allocations: 207.7 kB / 1.426 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006598/1.529, allocations: 76.78 kB / 1.426 GB, free: 1.664 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/1.529, allocations: 27.97 kB / 1.427 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/1.532, allocations: 1.658 MB / 1.428 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.532, allocations: 3.938 kB / 1.428 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/1.537, allocations: 1.575 MB / 1.43 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.538, allocations: 335.9 kB / 1.43 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005224/1.539, allocations: 27.94 kB / 1.43 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/1.541, allocations: 70.94 kB / 1.43 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/1.541, allocations: 84.81 kB / 1.43 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.541, allocations: 43.97 kB / 1.43 GB, free: 13.67 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001807/1.543, allocations: 0.578 MB / 1.431 GB, free: 13.08 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.543, allocations: 0 / 1.431 GB, free: 13.08 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00266/1.545, allocations: 439 kB / 1.431 GB, free: 12.65 MB / 1.123 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.002508/1.548, allocations: 0.6229 MB / 1.432 GB, free: 12.2 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003411/1.551, allocations: 0.9604 MB / 1.433 GB, free: 11.23 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.551, allocations: 3.938 kB / 1.433 GB, free: 11.23 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/1.553, allocations: 0.5705 MB / 1.433 GB, free: 10.64 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/1.557, allocations: 497.8 kB / 1.434 GB, free: 10.18 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/1.564, allocations: 2.474 MB / 1.436 GB, free: 7.668 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.565, allocations: 1.154 MB / 1.437 GB, free: 6.488 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001978/1.567, allocations: 317.1 kB / 1.438 GB, free: 6.176 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/1.567, allocations: 131.4 kB / 1.438 GB, free: 6.047 MB / 1.123 GB Notification: Performance of SimCode: time 1.273e-06/1.567, allocations: 0 / 1.438 GB, free: 6.047 MB / 1.123 GB Notification: Performance of Templates: time 0.05704/1.624, allocations: 21.17 MB / 1.458 GB, free: 1.133 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches