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.00148/0.00148, allocations: 107.1 kB / 16.37 MB, free: 6.473 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.001653/0.001653, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.435/2.435, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 64.58 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3059, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.7843/1.09, allocations: 166.1 MB / 1.189 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01829/1.109, allocations: 7.797 MB / 1.197 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/1.11, allocations: 34.25 kB / 1.197 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/1.112, allocations: 396.7 kB / 1.197 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005848/1.118, allocations: 1.321 MB / 1.198 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/1.123, allocations: 1.175 MB / 1.199 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004277/1.127, allocations: 2.356 MB / 1.202 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/1.129, allocations: 1.188 MB / 1.203 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/1.131, allocations: 0.8191 MB / 1.204 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/1.133, allocations: 0.7885 MB / 1.204 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002763/1.133, allocations: 151.6 kB / 1.205 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/1.136, allocations: 1.12 MB / 1.206 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005741/1.137, allocations: 423.7 kB / 1.206 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/1.138, allocations: 0.7912 MB / 1.207 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003129/1.141, allocations: 2.397 MB / 1.209 GB, free: 15.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.141, allocations: 4 kB / 1.209 GB, free: 15.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.102e-06/1.141, allocations: 0 / 1.209 GB, free: 15.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.981e-05/1.141, allocations: 0 / 1.209 GB, free: 15.71 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.00434/1.146, allocations: 1.881 MB / 1.211 GB, free: 14.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/1.146, allocations: 14.06 kB / 1.211 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/1.148, allocations: 327 kB / 1.211 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/1.15, allocations: 1.009 MB / 1.212 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/1.15, allocations: 86.14 kB / 1.212 GB, free: 13.28 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/1.15, allocations: 113.5 kB / 1.212 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/1.152, allocations: 1.174 MB / 1.214 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/1.152, allocations: 0 / 1.214 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.152, allocations: 48.19 kB / 1.214 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/1.152, allocations: 37.28 kB / 1.214 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/1.154, allocations: 1.317 MB / 1.215 GB, free: 11.8 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.006033/1.16, allocations: 3.798 MB / 1.219 GB, free: 8.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/1.162, allocations: 0.9949 MB / 1.22 GB, free: 7.492 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/1.163, allocations: 399.6 kB / 1.22 GB, free: 7.098 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.122e-05/1.163, allocations: 29.03 kB / 1.22 GB, free: 7.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/1.164, allocations: 0.5942 MB / 1.221 GB, free: 6.457 MB / 0.92 GB Notification: Performance of pre-optimization done (n=102): time 6.091e-06/1.164, allocations: 0 / 1.221 GB, free: 6.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=102): time 0.003713/1.168, allocations: 1.442 MB / 1.222 GB, free: 4.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/1.168, allocations: 188.9 kB / 1.222 GB, free: 4.762 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/1.169, allocations: 0.8376 MB / 1.223 GB, free: 3.898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/1.169, allocations: 45.7 kB / 1.223 GB, free: 3.848 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/1.17, allocations: 0.5237 MB / 1.224 GB, free: 3.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/1.17, allocations: 339 kB / 1.224 GB, free: 2.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/1.17, allocations: 198.5 kB / 1.224 GB, free: 2.777 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.171, allocations: 349.9 kB / 1.224 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/1.171, allocations: 337.8 kB / 1.225 GB, free: 2.102 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007833/1.172, allocations: 476.2 kB / 1.225 GB, free: 1.605 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/1.174, allocations: 0.801 MB / 1.226 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.174, allocations: 0 / 1.226 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002373/1.176, allocations: 1.08 MB / 1.227 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.176, allocations: 10.02 kB / 1.227 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.176, allocations: 4 kB / 1.227 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/1.177, allocations: 84.97 kB / 1.227 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/1.178, allocations: 215.7 kB / 1.227 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.18, allocations: 1.639 MB / 1.229 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.181, allocations: 107.1 kB / 1.229 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.181, allocations: 43.97 kB / 1.229 GB, free: 13.45 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.0006985/1.182, allocations: 326.4 kB / 1.229 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003863/1.182, allocations: 114.7 kB / 1.23 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/1.185, allocations: 1.248 MB / 1.231 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.185, allocations: 12 kB / 1.231 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.185, allocations: 0 / 1.231 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.185, allocations: 7.969 kB / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/1.187, allocations: 1.165 MB / 1.232 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.187, allocations: 0 / 1.232 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009861/1.188, allocations: 211.8 kB / 1.232 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/1.189, allocations: 72.73 kB / 1.232 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.429e-05/1.189, allocations: 27.97 kB / 1.232 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/1.191, allocations: 1.658 MB / 1.234 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.191, allocations: 3.938 kB / 1.234 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/1.194, allocations: 1.57 MB / 1.235 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/1.195, allocations: 327.2 kB / 1.236 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/1.195, allocations: 24 kB / 1.236 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009022/1.196, allocations: 71.98 kB / 1.236 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.196, allocations: 80.89 kB / 1.236 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.054e-05/1.196, allocations: 43.97 kB / 1.236 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009377/1.197, allocations: 0.5819 MB / 1.236 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.9e-07/1.197, allocations: 0 / 1.236 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001213/1.198, allocations: 434.9 kB / 1.237 GB, free: 5.227 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.001484/1.2, allocations: 0.6217 MB / 1.238 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002076/1.202, allocations: 0.9961 MB / 1.238 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.202, allocations: 4.062 kB / 1.238 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/1.203, allocations: 0.6094 MB / 1.239 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/1.205, allocations: 488.8 kB / 1.24 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/1.209, allocations: 2.438 MB / 1.242 GB, free: 236 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008458/1.21, allocations: 1.158 MB / 1.243 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00109/1.211, allocations: 333.1 kB / 1.243 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/1.212, allocations: 119.4 kB / 1.243 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of SimCode: time 1.072e-06/1.212, allocations: 0 / 1.243 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of Templates: time 0.03613/1.248, allocations: 20.84 MB / 1.264 GB, free: 9.996 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 gbode -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