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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001115/0.001116, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.00133, allocations: 185.5 kB / 16.92 MB, free: 6.75 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7036, allocations: 142.4 MB / 0.9557 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1952/0.8988, allocations: 171.4 MB / 1.123 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.9169, allocations: 12.58 MB / 1.135 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.9185, allocations: 31.81 kB / 1.135 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.92, allocations: 365.7 kB / 1.136 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.9236, allocations: 0.8618 MB / 1.137 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00493/0.9285, allocations: 1.664 MB / 1.138 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003791/0.9323, allocations: 2.743 MB / 1.141 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.9348, allocations: 1.397 MB / 1.142 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00471/0.9395, allocations: 1.154 MB / 1.143 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.9409, allocations: 0.7074 MB / 1.144 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003044/0.9413, allocations: 47.94 kB / 1.144 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003272/0.9445, allocations: 1.415 MB / 1.146 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006278/0.9452, allocations: 346.5 kB / 1.146 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.9463, allocations: 0.7046 MB / 1.147 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00338/0.9497, allocations: 1.98 MB / 1.149 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.9498, allocations: 0 / 1.149 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.397e-06/0.9498, allocations: 4 kB / 1.149 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.942e-05/0.9499, allocations: 0 / 1.149 GB, free: 9.238 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.003619/0.9535, allocations: 1.67 MB / 1.15 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.9535, allocations: 8.031 kB / 1.15 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002974/0.9565, allocations: 421.5 kB / 1.151 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.9589, allocations: 0.9917 MB / 1.152 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.959, allocations: 102.7 kB / 1.152 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.9592, allocations: 136 kB / 1.152 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.9622, allocations: 1.528 MB / 1.153 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.9623, allocations: 4 kB / 1.153 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.9625, allocations: 59.98 kB / 1.153 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.9625, allocations: 36 kB / 1.153 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.9654, allocations: 1.583 MB / 1.155 GB, free: 2.52 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.00837/0.9738, allocations: 5.106 MB / 1.16 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.9766, allocations: 1.528 MB / 1.161 GB, free: 11.55 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008804/0.9775, allocations: 494.4 kB / 1.162 GB, free: 11.06 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008055/0.9783, allocations: 441.3 kB / 1.162 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.9796, allocations: 0.6991 MB / 1.163 GB, free: 9.844 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.395e-06/0.9797, allocations: 0 / 1.163 GB, free: 9.844 MB / 0.92 GB Notification: Performance of matching and sorting (n=107): time 0.004539/0.9842, allocations: 1.68 MB / 1.165 GB, free: 8.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.9844, allocations: 196.9 kB / 1.165 GB, free: 7.898 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.9857, allocations: 0.8959 MB / 1.166 GB, free: 6.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.9858, allocations: 53.7 kB / 1.166 GB, free: 6.922 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/0.9863, allocations: 0.5935 MB / 1.166 GB, free: 6.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.9867, allocations: 351 kB / 1.167 GB, free: 5.973 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.9868, allocations: 89.66 kB / 1.167 GB, free: 5.879 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.987, allocations: 345.9 kB / 1.167 GB, free: 5.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008507/0.9879, allocations: 402.4 kB / 1.167 GB, free: 5.145 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000986/0.9889, allocations: 0.5707 MB / 1.168 GB, free: 4.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.9907, allocations: 0.9644 MB / 1.169 GB, free: 3.512 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.9907, allocations: 4 kB / 1.169 GB, free: 3.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002891/0.9936, allocations: 1.247 MB / 1.17 GB, free: 2.254 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.9936, allocations: 6.5 kB / 1.17 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.9937, allocations: 7.984 kB / 1.17 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.9943, allocations: 85 kB / 1.17 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.9955, allocations: 259.6 kB / 1.17 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.9976, allocations: 1.541 MB / 1.172 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.999, allocations: 160.8 kB / 1.172 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.9992, allocations: 47.97 kB / 1.172 GB, free: 20 kB / 0.92 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.0008907/1, allocations: 359.4 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/1, allocations: 122.5 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.004, allocations: 1.437 MB / 1.174 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.004, allocations: 15.94 kB / 1.174 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.004, allocations: 3.938 kB / 1.174 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.004, allocations: 7.984 kB / 1.174 GB, free: 14.06 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.005599/1.01, allocations: 2.87 MB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.01, allocations: 4 kB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.011, allocations: 227.7 kB / 1.177 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005676/1.011, allocations: 84.78 kB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/1.012, allocations: 31.97 kB / 1.177 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/1.014, allocations: 1.563 MB / 1.179 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.014, allocations: 8.047 kB / 1.179 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/1.017, allocations: 1.328 MB / 1.18 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008773/1.018, allocations: 367.1 kB / 1.18 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.018, allocations: 24 kB / 1.18 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/1.019, allocations: 115.8 kB / 1.181 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/1.02, allocations: 88.81 kB / 1.181 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.02, allocations: 60.02 kB / 1.181 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001144/1.021, allocations: 0.615 MB / 1.181 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.021, allocations: 0 / 1.181 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001584/1.022, allocations: 486.8 kB / 1.182 GB, free: 5.945 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.00187/1.024, allocations: 0.6959 MB / 1.182 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002749/1.027, allocations: 1.156 MB / 1.184 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.027, allocations: 4 kB / 1.184 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/1.029, allocations: 0.6797 MB / 1.184 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/1.031, allocations: 494.1 kB / 1.185 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/1.038, allocations: 3.188 MB / 1.188 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.039, allocations: 1.209 MB / 1.189 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006266/1.04, allocations: 159.3 kB / 1.189 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of SimCode: time 7.21e-07/1.04, allocations: 0 / 1.189 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of Templates: time 0.0425/1.082, allocations: 27.98 MB / 1.216 GB, free: 2.609 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,senTem.T,senRelHum.phi,senMasFra.X Variables in the result:senMasFra.X,senRelHum.phi,senTem.T,time