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.000811/0.0008111, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007218/0.007218, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.368/2.368, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003687, allocations: 8.281 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7288, allocations: 142.4 MB / 0.955 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1948/0.9236, allocations: 171.4 MB / 1.122 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.9429, allocations: 12.58 MB / 1.135 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.9445, allocations: 31.81 kB / 1.135 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.9462, allocations: 357.7 kB / 1.135 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.9497, allocations: 0.8771 MB / 1.136 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005466/0.9552, allocations: 1.661 MB / 1.138 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003837/0.959, allocations: 2.739 MB / 1.14 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.9617, allocations: 1.397 MB / 1.142 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/0.9665, allocations: 1.154 MB / 1.143 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.9676, allocations: 0.7191 MB / 1.143 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.9678, allocations: 44 kB / 1.144 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.9705, allocations: 1.419 MB / 1.145 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.9709, allocations: 342.6 kB / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007597/0.9716, allocations: 0.7085 MB / 1.146 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003259/0.9749, allocations: 2.624 MB / 1.148 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.9749, allocations: 0 / 1.148 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9749, allocations: 0 / 1.148 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.9749, allocations: 0 / 1.148 GB, free: 8.574 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.002957/0.9779, allocations: 1.67 MB / 1.15 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.978, allocations: 12.03 kB / 1.15 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/0.9805, allocations: 417.5 kB / 1.151 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.982, allocations: 0.9917 MB / 1.151 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.9821, allocations: 102.7 kB / 1.152 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.9823, allocations: 139.9 kB / 1.152 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.9849, allocations: 1.521 MB / 1.153 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.985, allocations: 3.938 kB / 1.153 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.9851, allocations: 60 kB / 1.153 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.9851, allocations: 35.98 kB / 1.153 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.9878, allocations: 1.583 MB / 1.155 GB, free: 1.859 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.007005/0.9949, allocations: 5.104 MB / 1.16 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.9974, allocations: 1.528 MB / 1.161 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008688/0.9983, allocations: 486.4 kB / 1.162 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007869/0.9991, allocations: 441.3 kB / 1.162 GB, free: 9.906 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/1, allocations: 0.6919 MB / 1.163 GB, free: 9.199 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.605e-06/1, allocations: 0 / 1.163 GB, free: 9.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=107): time 0.004381/1.005, allocations: 1.684 MB / 1.165 GB, free: 7.484 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.005, allocations: 196.9 kB / 1.165 GB, free: 7.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.006, allocations: 0.8959 MB / 1.166 GB, free: 6.332 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/1.006, allocations: 49.7 kB / 1.166 GB, free: 6.277 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/1.007, allocations: 0.5974 MB / 1.166 GB, free: 5.672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/1.007, allocations: 347 kB / 1.167 GB, free: 5.328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/1.007, allocations: 93.66 kB / 1.167 GB, free: 5.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.007, allocations: 345.9 kB / 1.167 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007928/1.008, allocations: 402.4 kB / 1.167 GB, free: 4.496 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009529/1.009, allocations: 0.5746 MB / 1.168 GB, free: 3.867 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/1.011, allocations: 0.9683 MB / 1.169 GB, free: 2.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.011, allocations: 3.984 kB / 1.169 GB, free: 2.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002791/1.014, allocations: 1.242 MB / 1.17 GB, free: 1.602 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.014, allocations: 4 kB / 1.17 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.014, allocations: 4 kB / 1.17 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/1.014, allocations: 89.14 kB / 1.17 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/1.015, allocations: 259.6 kB / 1.17 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/1.017, allocations: 1.545 MB / 1.172 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.019, allocations: 156.8 kB / 1.172 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.019, allocations: 51.95 kB / 1.172 GB, free: 15.36 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.0007598/1.02, allocations: 355.2 kB / 1.172 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/1.02, allocations: 122.5 kB / 1.173 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/1.023, allocations: 1.433 MB / 1.174 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.023, allocations: 12 kB / 1.174 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.023, allocations: 11.88 kB / 1.174 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/1.023, allocations: 7.984 kB / 1.174 GB, free: 13.41 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.004677/1.028, allocations: 2.882 MB / 1.177 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.028, allocations: 4 kB / 1.177 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/1.029, allocations: 223.7 kB / 1.177 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/1.029, allocations: 84.78 kB / 1.177 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/1.029, allocations: 31.97 kB / 1.177 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/1.031, allocations: 1.559 MB / 1.179 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.031, allocations: 0 / 1.179 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/1.034, allocations: 1.328 MB / 1.18 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/1.034, allocations: 371.1 kB / 1.18 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/1.035, allocations: 27.98 kB / 1.18 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.036, allocations: 119.7 kB / 1.18 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/1.036, allocations: 84.88 kB / 1.181 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.036, allocations: 55.95 kB / 1.181 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008286/1.037, allocations: 0.615 MB / 1.181 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.037, allocations: 3.938 kB / 1.181 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001234/1.038, allocations: 482.9 kB / 1.182 GB, free: 5.293 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.00156/1.04, allocations: 0.7023 MB / 1.182 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002277/1.042, allocations: 1.152 MB / 1.183 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.042, allocations: 4 kB / 1.183 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/1.043, allocations: 0.6836 MB / 1.184 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/1.045, allocations: 493.2 kB / 1.185 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005464/1.051, allocations: 3.139 MB / 1.188 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/1.052, allocations: 1.217 MB / 1.189 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001562/1.053, allocations: 377.8 kB / 1.189 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/1.054, allocations: 143.4 kB / 1.189 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of SimCode: time 7.82e-07/1.054, allocations: 0 / 1.189 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.03799/1.092, allocations: 22.88 MB / 1.212 GB, free: 6.914 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