Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001767/0.001767, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6012/0.6026, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1811/0.7838, allocations: 173.7 MB / 1.119 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.7996, allocations: 12.59 MB / 1.131 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.8009, allocations: 27.81 kB / 1.131 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.8021, allocations: 369.7 kB / 1.131 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.805, allocations: 0.8776 MB / 1.132 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004442/0.8094, allocations: 1.703 MB / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003009/0.8125, allocations: 2.4 MB / 1.136 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.8146, allocations: 1.629 MB / 1.138 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004482/0.8191, allocations: 1.395 MB / 1.139 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.8206, allocations: 0.8869 MB / 1.14 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.821, allocations: 168 kB / 1.14 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.8242, allocations: 1.439 MB / 1.142 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005048/0.8248, allocations: 498.5 kB / 1.142 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009203/0.8257, allocations: 0.8474 MB / 1.143 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.8297, allocations: 2.769 MB / 1.146 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8298, allocations: 0 / 1.146 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8298, allocations: 0 / 1.146 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.759e-05/0.8298, allocations: 0 / 1.146 GB, free: 8.105 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.00355/0.8334, allocations: 2.002 MB / 1.148 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.8334, allocations: 8.031 kB / 1.148 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.8362, allocations: 405.6 kB / 1.148 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.8378, allocations: 0.9878 MB / 1.149 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/0.8379, allocations: 106.7 kB / 1.149 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.8381, allocations: 132 kB / 1.149 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.8408, allocations: 1.524 MB / 1.151 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.8409, allocations: 0 / 1.151 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.841, allocations: 63.98 kB / 1.151 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.841, allocations: 32 kB / 1.151 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/0.8438, allocations: 1.591 MB / 1.152 GB, free: 1.078 MB / 0.9044 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.007461/0.8513, allocations: 5.067 MB / 1.157 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.854, allocations: 1.512 MB / 1.159 GB, free: 10.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008646/0.8549, allocations: 490.4 kB / 1.159 GB, free: 9.68 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008092/0.8557, allocations: 425.3 kB / 1.16 GB, free: 9.191 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.857, allocations: 0.6918 MB / 1.16 GB, free: 8.48 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 3.366e-06/0.857, allocations: 0 / 1.16 GB, free: 8.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=107): time 0.004596/0.8616, allocations: 1.661 MB / 1.162 GB, free: 6.793 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.8618, allocations: 196.9 kB / 1.162 GB, free: 6.555 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.8631, allocations: 0.892 MB / 1.163 GB, free: 5.641 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.8632, allocations: 53.64 kB / 1.163 GB, free: 5.582 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004997/0.8637, allocations: 0.5974 MB / 1.164 GB, free: 4.977 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.864, allocations: 362.8 kB / 1.164 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.8644, allocations: 210.8 kB / 1.164 GB, free: 4.406 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8645, allocations: 349.9 kB / 1.164 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008038/0.8653, allocations: 394.4 kB / 1.165 GB, free: 3.672 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.8664, allocations: 0.5746 MB / 1.165 GB, free: 3.047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.8682, allocations: 0.9527 MB / 1.166 GB, free: 2.055 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.8682, allocations: 4 kB / 1.166 GB, free: 2.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00287/0.8711, allocations: 1.235 MB / 1.168 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.8711, allocations: 8 kB / 1.168 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.8712, allocations: 4 kB / 1.168 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006864/0.8719, allocations: 92.81 kB / 1.168 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.8731, allocations: 247.7 kB / 1.168 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.8753, allocations: 1.65 MB / 1.17 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.8767, allocations: 156.9 kB / 1.17 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.8768, allocations: 47.97 kB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (131): * Single equations (assignments): 130 * 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.0006802/0.8775, allocations: 347.4 kB / 1.17 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.8778, allocations: 122.5 kB / 1.17 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/0.8811, allocations: 1.437 MB / 1.172 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.8811, allocations: 15.94 kB / 1.172 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.8812, allocations: 0 / 1.172 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.8812, allocations: 7.969 kB / 1.172 GB, free: 12.52 MB / 0.9356 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.005078/0.8863, allocations: 2.87 MB / 1.174 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.8863, allocations: 4 kB / 1.174 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.8873, allocations: 219.7 kB / 1.175 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000494/0.8878, allocations: 76.78 kB / 1.175 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.8879, allocations: 27.98 kB / 1.175 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.8901, allocations: 1.67 MB / 1.176 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8901, allocations: 4.031 kB / 1.176 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.8932, allocations: 1.32 MB / 1.178 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.8938, allocations: 359.1 kB / 1.178 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.894, allocations: 27.94 kB / 1.178 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.895, allocations: 99.8 kB / 1.178 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.8953, allocations: 88.81 kB / 1.178 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.8954, allocations: 47.97 kB / 1.178 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009925/0.8964, allocations: 0.6189 MB / 1.179 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8964, allocations: 4 kB / 1.179 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001373/0.8978, allocations: 482.9 kB / 1.179 GB, free: 4.34 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * 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.001748/0.8995, allocations: 0.7077 MB / 1.18 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00362/0.9032, allocations: 1.468 MB / 1.181 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.9032, allocations: 0 / 1.181 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.9045, allocations: 0.6835 MB / 1.182 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.9068, allocations: 0.5175 MB / 1.183 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/0.9126, allocations: 3.056 MB / 1.186 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/0.9134, allocations: 1.213 MB / 1.187 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001644/0.9151, allocations: 389.8 kB / 1.187 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.9155, allocations: 139.4 kB / 1.187 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of SimCode: time 7.42e-07/0.9155, allocations: 0 / 1.187 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.03946/0.955, allocations: 23.83 MB / 1.211 GB, free: 4.781 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches