Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001557/0.001557, allocations: 105 kB / 15.98 MB, free: 6.77 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.001644/0.001644, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437 MB / 0.7107 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 0.8694 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6964/0.6979, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.187/0.8849, allocations: 174.4 MB / 1.188 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.9032, allocations: 12.67 MB / 1.2 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.905, allocations: 27.88 kB / 1.2 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.9069, allocations: 393.5 kB / 1.201 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.9108, allocations: 0.933 MB / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00533/0.9162, allocations: 1.699 MB / 1.203 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004388/0.9206, allocations: 2.524 MB / 1.206 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003434/0.9241, allocations: 1.602 MB / 1.207 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005817/0.9299, allocations: 1.411 MB / 1.209 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.9315, allocations: 0.9025 MB / 1.209 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005878/0.9321, allocations: 172 kB / 1.21 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.9354, allocations: 1.439 MB / 1.211 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.9362, allocations: 0.4907 MB / 1.211 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.938, allocations: 0.8786 MB / 1.212 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003596/0.9416, allocations: 2.07 MB / 1.214 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.9416, allocations: 0 / 1.214 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.915e-06/0.9416, allocations: 0 / 1.214 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.711e-05/0.9417, allocations: 0 / 1.214 GB, free: 8.359 MB / 0.9669 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.004933/0.9467, allocations: 2.024 MB / 1.216 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.9467, allocations: 8.031 kB / 1.216 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.9498, allocations: 421.5 kB / 1.217 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.9518, allocations: 0.9839 MB / 1.218 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/0.9519, allocations: 102.7 kB / 1.218 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.9522, allocations: 132 kB / 1.218 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00329/0.9555, allocations: 1.528 MB / 1.219 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.9555, allocations: 0 / 1.219 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.9557, allocations: 60 kB / 1.219 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.9558, allocations: 32 kB / 1.22 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/0.9587, allocations: 1.583 MB / 1.221 GB, free: 1.309 MB / 0.9669 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.008374/0.9671, allocations: 5.326 MB / 1.226 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.9698, allocations: 1.52 MB / 1.228 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000869/0.9707, allocations: 482.4 kB / 1.228 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008083/0.9716, allocations: 429.3 kB / 1.229 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.9729, allocations: 0.688 MB / 1.229 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=107): time 4.008e-06/0.9729, allocations: 3.938 kB / 1.229 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107): time 0.004501/0.9775, allocations: 1.668 MB / 1.231 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.9776, allocations: 196.9 kB / 1.231 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.9791, allocations: 0.8959 MB / 1.232 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.9793, allocations: 45.7 kB / 1.232 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/0.9798, allocations: 0.5936 MB / 1.233 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.9802, allocations: 354.9 kB / 1.233 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.9806, allocations: 218.7 kB / 1.233 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9807, allocations: 349.9 kB / 1.233 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/0.9816, allocations: 394.4 kB / 1.234 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/0.9826, allocations: 0.5746 MB / 1.234 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.9843, allocations: 0.9566 MB / 1.235 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.9844, allocations: 4 kB / 1.235 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002916/0.9873, allocations: 1.227 MB / 1.237 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.9873, allocations: 12.03 kB / 1.237 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.9873, allocations: 4 kB / 1.237 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.988, allocations: 88.77 kB / 1.237 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.9891, allocations: 255.6 kB / 1.237 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.9913, allocations: 1.654 MB / 1.239 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.9927, allocations: 160.5 kB / 1.239 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.9928, allocations: 48.05 kB / 1.239 GB, free: 14.36 MB / 0.9981 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.0007852/0.9936, allocations: 351.3 kB / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003901/0.994, allocations: 126.4 kB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/0.9975, allocations: 1.433 MB / 1.241 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.9975, allocations: 12 kB / 1.241 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9975, allocations: 0 / 1.241 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.9975, allocations: 3.984 kB / 1.241 GB, free: 12.42 MB / 0.9981 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.005396/1.003, allocations: 2.882 MB / 1.243 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.003, allocations: 0 / 1.243 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.004, allocations: 219.7 kB / 1.244 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/1.004, allocations: 76.8 kB / 1.244 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/1.005, allocations: 31.97 kB / 1.244 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/1.007, allocations: 1.673 MB / 1.245 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.007, allocations: 0 / 1.245 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/1.009, allocations: 1.324 MB / 1.247 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000758/1.01, allocations: 351.2 kB / 1.247 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/1.01, allocations: 27.91 kB / 1.247 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.012, allocations: 107 kB / 1.247 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/1.012, allocations: 88.81 kB / 1.247 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.012, allocations: 47.97 kB / 1.247 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00108/1.013, allocations: 0.6189 MB / 1.248 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.613e-06/1.013, allocations: 0 / 1.248 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001566/1.015, allocations: 0.4987 MB / 1.248 GB, free: 4.211 MB / 0.9981 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.002036/1.017, allocations: 0.7213 MB / 1.249 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003715/1.021, allocations: 1.464 MB / 1.25 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.021, allocations: 0 / 1.25 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/1.022, allocations: 0.6797 MB / 1.251 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/1.025, allocations: 0.5246 MB / 1.252 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5434/1.568, allocations: 2.995 MB / 1.255 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.569, allocations: 1.203 MB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007699/1.57, allocations: 159.6 kB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.653e-06/1.57, allocations: 1.781 kB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.05101/1.621, allocations: 28.39 MB / 1.284 GB, free: 219.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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