Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008301/0.0008301, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008083/0.0008083, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8475/0.8475, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.577/1.577, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.097e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00432/0.004341, allocations: 4.504 MB / 0.9561 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.5468/0.5512, allocations: 132.7 MB / 1.086 GB, free: 40.6 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007276/0.5519, allocations: 26.72 kB / 1.086 GB, free: 40.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.5525, allocations: 197.9 kB / 1.086 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.5537, allocations: 0.5732 MB / 1.086 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.5549, allocations: 0.8723 MB / 1.087 GB, free: 40.35 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.5558, allocations: 1.463 MB / 1.089 GB, free: 40.22 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.5562, allocations: 396.2 kB / 1.089 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.5568, allocations: 0.7346 MB / 1.09 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.5571, allocations: 406.7 kB / 1.09 GB, free: 40.05 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-05/0.5572, allocations: 123.3 kB / 1.09 GB, free: 40.05 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.5577, allocations: 0.4957 MB / 1.091 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.5579, allocations: 311.4 kB / 1.091 GB, free: 39.98 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.5581, allocations: 389.4 kB / 1.092 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.5593, allocations: 1.799 MB / 1.093 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5593, allocations: 0 / 1.093 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5593, allocations: 0 / 1.093 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.5593, allocations: 0 / 1.093 GB, free: 39.74 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001389/0.5607, allocations: 1.431 MB / 1.095 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.5607, allocations: 10.44 kB / 1.095 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/0.5614, allocations: 235.7 kB / 1.095 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007467/0.5622, allocations: 0.7207 MB / 1.096 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.5622, allocations: 65.69 kB / 1.096 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.5623, allocations: 87.72 kB / 1.096 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.5632, allocations: 1.182 MB / 1.097 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5632, allocations: 0 / 1.097 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.5632, allocations: 39.69 kB / 1.097 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.5632, allocations: 25.72 kB / 1.097 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.5644, allocations: 1.062 MB / 1.098 GB, free: 37.56 MB / 0.9948 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.002784/0.5671, allocations: 2.287 MB / 1.1 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.5681, allocations: 0.7776 MB / 1.101 GB, free: 35.92 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.5685, allocations: 287.7 kB / 1.101 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.813e-05/0.5685, allocations: 25.59 kB / 1.101 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/0.5691, allocations: 0.6042 MB / 1.102 GB, free: 35.47 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=86): time 2.495e-06/0.5691, allocations: 1.125 kB / 1.102 GB, free: 35.47 MB / 0.9948 GB Notification: Performance of matching and sorting (n=86): time 0.001914/0.571, allocations: 1.154 MB / 1.103 GB, free: 35.05 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.5711, allocations: 204.5 kB / 1.103 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.5717, allocations: 0.6144 MB / 1.104 GB, free: 34.54 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.5717, allocations: 50.3 kB / 1.104 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.5719, allocations: 407.6 kB / 1.104 GB, free: 34.18 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.572, allocations: 284.9 kB / 1.105 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.5722, allocations: 180.4 kB / 1.105 GB, free: 33.88 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.5723, allocations: 385.6 kB / 1.105 GB, free: 33.54 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.5727, allocations: 287.1 kB / 1.105 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.5731, allocations: 0.5113 MB / 1.106 GB, free: 33.11 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.5738, allocations: 0.6464 MB / 1.106 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5738, allocations: 1.5 kB / 1.106 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001285/0.5751, allocations: 0.9182 MB / 1.107 GB, free: 32.43 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.5751, allocations: 7.688 kB / 1.107 GB, free: 32.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5752, allocations: 1.969 kB / 1.107 GB, free: 32.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003724/0.5755, allocations: 84.27 kB / 1.107 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.5759, allocations: 169.1 kB / 1.108 GB, free: 32.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.5771, allocations: 1.515 MB / 1.109 GB, free: 31 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.5775, allocations: 85.02 kB / 1.109 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.5775, allocations: 39.16 kB / 1.109 GB, free: 30.96 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0002829/0.5778, allocations: 288.2 kB / 1.109 GB, free: 30.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.5779, allocations: 86.89 kB / 1.11 GB, free: 30.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.5794, allocations: 1.076 MB / 1.111 GB, free: 30.28 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.5794, allocations: 15.05 kB / 1.111 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5794, allocations: 1.969 kB / 1.111 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.5794, allocations: 6.734 kB / 1.111 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.5819, allocations: 1.875 MB / 1.112 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5819, allocations: 1.125 kB / 1.112 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.5822, allocations: 146.6 kB / 1.113 GB, free: 29.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.5824, allocations: 77.42 kB / 1.113 GB, free: 29.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.5824, allocations: 24.81 kB / 1.113 GB, free: 29.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000913/0.5833, allocations: 1.528 MB / 1.114 GB, free: 27.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5833, allocations: 0 / 1.114 GB, free: 27.94 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.5845, allocations: 1.021 MB / 1.115 GB, free: 27.47 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.5847, allocations: 198.8 kB / 1.115 GB, free: 27.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.5848, allocations: 20.06 kB / 1.115 GB, free: 27.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.5851, allocations: 67.67 kB / 1.115 GB, free: 27.34 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.5852, allocations: 78.66 kB / 1.116 GB, free: 27.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.5853, allocations: 35.05 kB / 1.116 GB, free: 27.31 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003709/0.5856, allocations: 441.8 kB / 1.116 GB, free: 27.12 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5856, allocations: 1.125 kB / 1.116 GB, free: 27.12 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007064/0.5864, allocations: 345.9 kB / 1.116 GB, free: 27.02 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001009/0.5874, allocations: 0.6613 MB / 1.117 GB, free: 26.76 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.5884, allocations: 0.8344 MB / 1.118 GB, free: 26.42 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5884, allocations: 1.125 kB / 1.118 GB, free: 26.42 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.5889, allocations: 0.4942 MB / 1.118 GB, free: 26.19 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007181/0.5896, allocations: 296.5 kB / 1.119 GB, free: 26.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.5917, allocations: 1.749 MB / 1.12 GB, free: 25.17 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.592, allocations: 444.3 kB / 1.121 GB, free: 25.03 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.5922, allocations: 117.9 kB / 1.121 GB, free: 25.01 MB / 0.9948 GB Notification: Performance of SimCode: time 9.02e-07/0.5922, allocations: 0 / 1.121 GB, free: 25.01 MB / 0.9948 GB Notification: Performance of Templates: time 0.02018/0.6124, allocations: 19.28 MB / 1.14 GB, free: 22.8 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.717088313773274]