Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.0009231/0.0009231, allocations: 76.55 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.0008875/0.0008875, allocations: 181.9 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.8717/0.8717, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.688/1.688, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.205e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6112/0.6113, allocations: 155.7 MB / 1.134 GB, free: 7.941 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009901/0.6212, allocations: 10.3 MB / 1.144 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007174/0.6219, allocations: 40.38 kB / 1.144 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008785/0.6227, allocations: 430.8 kB / 1.145 GB, free: 0.6875 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.6248, allocations: 1.161 MB / 1.146 GB, free: 4 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.6279, allocations: 1.796 MB / 1.148 GB, free: 15.07 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.6299, allocations: 2.46 MB / 1.15 GB, free: 13.82 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.631, allocations: 1.121 MB / 1.151 GB, free: 13.25 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.6338, allocations: 1.861 MB / 1.153 GB, free: 12.42 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.6345, allocations: 0.6777 MB / 1.154 GB, free: 12.17 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.6347, allocations: 162.3 kB / 1.154 GB, free: 12.17 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.6364, allocations: 1.281 MB / 1.155 GB, free: 11.77 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.6368, allocations: 487.6 kB / 1.156 GB, free: 11.49 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.6372, allocations: 0.5515 MB / 1.156 GB, free: 11.22 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.6401, allocations: 2.796 MB / 1.159 GB, free: 10.14 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6401, allocations: 9.188 kB / 1.159 GB, free: 10.13 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6401, allocations: 0 / 1.159 GB, free: 10.13 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.6401, allocations: 0 / 1.159 GB, free: 10.13 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002255/0.6423, allocations: 1.897 MB / 1.161 GB, free: 8.918 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6424, allocations: 8.906 kB / 1.161 GB, free: 8.918 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.6437, allocations: 407.3 kB / 1.161 GB, free: 8.812 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.6449, allocations: 0.9428 MB / 1.162 GB, free: 8.25 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.645, allocations: 90.11 kB / 1.162 GB, free: 8.211 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.6451, allocations: 129.2 kB / 1.162 GB, free: 8.164 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.6468, allocations: 1.701 MB / 1.164 GB, free: 7.109 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.6469, allocations: 1.984 kB / 1.164 GB, free: 7.109 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.6469, allocations: 48.17 kB / 1.164 GB, free: 7.074 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.647, allocations: 29.19 kB / 1.164 GB, free: 7.074 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.6487, allocations: 1.407 MB / 1.165 GB, free: 6.703 MB / 1.01 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.003795/0.6525, allocations: 2.995 MB / 1.168 GB, free: 5.082 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.654, allocations: 1.137 MB / 1.169 GB, free: 4.633 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/0.6545, allocations: 431.8 kB / 1.17 GB, free: 4.477 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/0.6548, allocations: 113.5 kB / 1.17 GB, free: 4.461 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008654/0.6557, allocations: 0.8934 MB / 1.171 GB, free: 3.922 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 2.514e-06/0.6557, allocations: 4 kB / 1.171 GB, free: 3.918 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.002548/0.6582, allocations: 1.565 MB / 1.172 GB, free: 3.363 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.6583, allocations: 207.8 kB / 1.172 GB, free: 3.137 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/0.659, allocations: 0.7548 MB / 1.173 GB, free: 2.816 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.6591, allocations: 51.08 kB / 1.173 GB, free: 2.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.6594, allocations: 0.5349 MB / 1.174 GB, free: 2.352 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.6596, allocations: 391.6 kB / 1.174 GB, free: 2.039 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.6599, allocations: 226.2 kB / 1.174 GB, free: 1.941 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.66, allocations: 354.7 kB / 1.175 GB, free: 1.613 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.6605, allocations: 408.7 kB / 1.175 GB, free: 1.469 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007342/0.6612, allocations: 0.7121 MB / 1.176 GB, free: 1.012 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.6623, allocations: 0.9128 MB / 1.177 GB, free: 0.5859 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6623, allocations: 0.7812 kB / 1.177 GB, free: 0.5859 MB / 1.01 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001628/0.6639, allocations: 1.24 MB / 1.178 GB, free: 96 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6639, allocations: 7.828 kB / 1.178 GB, free: 96 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.6639, allocations: 6.781 kB / 1.178 GB, free: 92 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.6642, allocations: 84.62 kB / 1.178 GB, free: 72 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.6648, allocations: 244.5 kB / 1.178 GB, free: 44 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.6661, allocations: 1.516 MB / 1.18 GB, free: 14.67 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.6666, allocations: 119.6 kB / 1.18 GB, free: 14.61 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.6667, allocations: 51.78 kB / 1.18 GB, free: 14.6 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (141): * Single equations (assignments): 140 * 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.0003693/0.6671, allocations: 340 kB / 1.18 GB, free: 14.36 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.6672, allocations: 112.6 kB / 1.18 GB, free: 14.3 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.6691, allocations: 1.525 MB / 1.182 GB, free: 13.68 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.6691, allocations: 16.53 kB / 1.182 GB, free: 13.68 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.6691, allocations: 4 kB / 1.182 GB, free: 13.68 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.6691, allocations: 7.891 kB / 1.182 GB, free: 13.68 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.003007/0.6721, allocations: 2.53 MB / 1.184 GB, free: 12.48 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6721, allocations: 2.125 kB / 1.184 GB, free: 12.48 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.6726, allocations: 208.9 kB / 1.184 GB, free: 12.45 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002123/0.6728, allocations: 72.7 kB / 1.185 GB, free: 12.44 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/0.6728, allocations: 34.58 kB / 1.185 GB, free: 12.42 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.6741, allocations: 1.55 MB / 1.186 GB, free: 11.02 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6741, allocations: 6.875 kB / 1.186 GB, free: 11.02 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.6763, allocations: 1.904 MB / 1.188 GB, free: 10.16 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.6766, allocations: 258.3 kB / 1.188 GB, free: 10.02 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.6767, allocations: 27.42 kB / 1.188 GB, free: 10 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.6771, allocations: 75.03 kB / 1.188 GB, free: 9.98 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.6772, allocations: 98.14 kB / 1.188 GB, free: 9.965 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.6773, allocations: 50.5 kB / 1.188 GB, free: 9.953 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004622/0.6777, allocations: 0.5275 MB / 1.189 GB, free: 9.734 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.6777, allocations: 1.062 kB / 1.189 GB, free: 9.734 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001057/0.6788, allocations: 494.8 kB / 1.189 GB, free: 9.598 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (122): * Single equations (assignments): 111 * 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.001165/0.6799, allocations: 0.7583 MB / 1.19 GB, free: 9.293 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.6812, allocations: 1.111 MB / 1.191 GB, free: 8.859 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6812, allocations: 4.984 kB / 1.191 GB, free: 8.859 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.6819, allocations: 0.6316 MB / 1.192 GB, free: 8.574 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.6829, allocations: 444.6 kB / 1.192 GB, free: 8.434 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.6854, allocations: 2.423 MB / 1.195 GB, free: 7.121 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.6857, allocations: 0.5825 MB / 1.195 GB, free: 6.965 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.686, allocations: 155.5 kB / 1.195 GB, free: 6.938 MB / 1.026 GB Notification: Performance of SimCode: time 6.11e-07/0.686, allocations: 0 / 1.195 GB, free: 6.938 MB / 1.026 GB Notification: Performance of Templates: time 0.02383/0.7098, allocations: 26.93 MB / 1.222 GB, free: 4.457 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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: 10.078603358007967]