Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001726/0.001726, allocations: 85.03 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002015/0.002015, allocations: 163.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.638/1.638, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.007/3.007, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.003e-05/4.33e-05, allocations: 9.797 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.8782/0.8783, allocations: 155.9 MB / 1.152 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.896, allocations: 12.02 MB / 1.164 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.8977, allocations: 41.59 kB / 1.164 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.8996, allocations: 480.6 kB / 1.165 GB, free: 44.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004069/0.9037, allocations: 1.096 MB / 1.166 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005958/0.9096, allocations: 1.951 MB / 1.168 GB, free: 44.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003914/0.9136, allocations: 2.599 MB / 1.17 GB, free: 44.36 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.9161, allocations: 1.215 MB / 1.171 GB, free: 44.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006207/0.9223, allocations: 2.051 MB / 1.173 GB, free: 44.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.9239, allocations: 0.7232 MB / 1.174 GB, free: 43.94 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005675/0.9245, allocations: 179.3 kB / 1.174 GB, free: 43.94 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003691/0.9281, allocations: 1.307 MB / 1.175 GB, free: 43.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006402/0.9288, allocations: 0.5131 MB / 1.176 GB, free: 43.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.9305, allocations: 0.6173 MB / 1.177 GB, free: 43.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006903/0.9374, allocations: 3.015 MB / 1.18 GB, free: 43.42 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.9374, allocations: 0 / 1.18 GB, free: 43.42 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9374, allocations: 0 / 1.18 GB, free: 43.42 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001561/0.9376, allocations: 1.875 kB / 1.18 GB, free: 43.42 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00728/0.9449, allocations: 2.035 MB / 1.182 GB, free: 42.42 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.9449, allocations: 9.781 kB / 1.182 GB, free: 42.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/0.949, allocations: 467.4 kB / 1.182 GB, free: 42.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.9519, allocations: 0.9752 MB / 1.183 GB, free: 42.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.9521, allocations: 109.7 kB / 1.183 GB, free: 42.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004201/0.9525, allocations: 137.5 kB / 1.183 GB, free: 42.01 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/0.9568, allocations: 2.044 MB / 1.185 GB, free: 41.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-05/0.9568, allocations: 4.938 kB / 1.185 GB, free: 41.16 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.9571, allocations: 62.78 kB / 1.185 GB, free: 41.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.9571, allocations: 35.36 kB / 1.185 GB, free: 41.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00392/0.961, allocations: 1.539 MB / 1.187 GB, free: 41.14 MB / 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.009592/0.9706, allocations: 3.818 MB / 1.19 GB, free: 39.56 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/0.9737, allocations: 1.189 MB / 1.192 GB, free: 39.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.9747, allocations: 459.1 kB / 1.192 GB, free: 38.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000698/0.9754, allocations: 112.5 kB / 1.192 GB, free: 38.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/0.9775, allocations: 1.073 MB / 1.193 GB, free: 38.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 8.967e-06/0.9775, allocations: 0.9062 kB / 1.193 GB, free: 38.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.006752/0.9843, allocations: 1.612 MB / 1.195 GB, free: 37.64 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.9844, allocations: 201.5 kB / 1.195 GB, free: 37.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.9864, allocations: 0.7608 MB / 1.196 GB, free: 37.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.9867, allocations: 55.27 kB / 1.196 GB, free: 37.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.9873, allocations: 0.6157 MB / 1.196 GB, free: 36.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.9876, allocations: 395.5 kB / 1.197 GB, free: 36.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004571/0.9881, allocations: 231.6 kB / 1.197 GB, free: 36.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9882, allocations: 351.5 kB / 1.197 GB, free: 35.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009771/0.9892, allocations: 423.9 kB / 1.198 GB, free: 35.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.9904, allocations: 0.7756 MB / 1.198 GB, free: 35.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.9924, allocations: 1.003 MB / 1.199 GB, free: 34.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.9924, allocations: 1.719 kB / 1.199 GB, free: 34.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003311/0.9957, allocations: 1.299 MB / 1.201 GB, free: 34.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.9958, allocations: 11.25 kB / 1.201 GB, free: 34.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.9958, allocations: 4.078 kB / 1.201 GB, free: 34.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/0.9965, allocations: 87.34 kB / 1.201 GB, free: 34.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.9978, allocations: 263.5 kB / 1.201 GB, free: 34.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.9998, allocations: 1.527 MB / 1.203 GB, free: 32.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.001, allocations: 125 kB / 1.203 GB, free: 32.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.001, allocations: 52.52 kB / 1.203 GB, free: 32.71 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 143 * 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.0008801/1.002, allocations: 356.8 kB / 1.203 GB, free: 32.48 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/1.002, allocations: 118.6 kB / 1.203 GB, free: 32.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/1.006, allocations: 1.455 MB / 1.205 GB, free: 31.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/1.006, allocations: 13.73 kB / 1.205 GB, free: 31.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.006, allocations: 1.438 kB / 1.205 GB, free: 31.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/1.006, allocations: 6.141 kB / 1.205 GB, free: 31.85 MB / 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 postOpt removeSimpleEquations (simulation): time 0.005524/1.011, allocations: 2.591 MB / 1.207 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.011, allocations: 0 / 1.207 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.013, allocations: 222.8 kB / 1.207 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004902/1.013, allocations: 72.47 kB / 1.207 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/1.013, allocations: 38.69 kB / 1.207 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/1.015, allocations: 1.538 MB / 1.209 GB, free: 29.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.015, allocations: 5.594 kB / 1.209 GB, free: 29.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/1.018, allocations: 1.356 MB / 1.21 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006607/1.019, allocations: 285.7 kB / 1.211 GB, free: 28.51 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.019, allocations: 28.67 kB / 1.211 GB, free: 28.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009936/1.02, allocations: 79.59 kB / 1.211 GB, free: 28.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/1.02, allocations: 90.02 kB / 1.211 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.02, allocations: 51.92 kB / 1.211 GB, free: 28.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008154/1.021, allocations: 0.522 MB / 1.211 GB, free: 28.24 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/1.021, allocations: 0.6875 kB / 1.211 GB, free: 28.24 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001687/1.023, allocations: 0.5252 MB / 1.212 GB, free: 28.09 MB / 1.076 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 (125): * Single equations (assignments): 114 * 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.002507/1.025, allocations: 0.7555 MB / 1.213 GB, free: 27.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00295/1.028, allocations: 1.152 MB / 1.214 GB, free: 27.41 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.028, allocations: 1.094 kB / 1.214 GB, free: 27.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/1.03, allocations: 0.6498 MB / 1.214 GB, free: 27.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/1.032, allocations: 438.9 kB / 1.215 GB, free: 27.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/1.037, allocations: 2.388 MB / 1.217 GB, free: 25.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007959/1.037, allocations: 0.6306 MB / 1.218 GB, free: 25.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001545/1.039, allocations: 379 kB / 1.218 GB, free: 25.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/1.039, allocations: 141.4 kB / 1.218 GB, free: 25.53 MB / 1.076 GB Notification: Performance of SimCode: time 8.11e-07/1.039, allocations: 1.125 kB / 1.218 GB, free: 25.53 MB / 1.076 GB Notification: Performance of Templates: time 0.04185/1.081, allocations: 22.94 MB / 1.241 GB, free: 22.8 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.4804776199162]