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.001493/0.001493, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001548/0.001548, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.183/2.183, allocations: 390.2 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.89 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2592, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7218/0.9811, allocations: 176 MB / 1.122 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.9964, allocations: 12.73 MB / 1.135 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.9983, allocations: 32.97 kB / 1.135 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/1, allocations: 442.6 kB / 1.135 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003692/1.004, allocations: 0.966 MB / 1.136 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005527/1.009, allocations: 1.844 MB / 1.138 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003579/1.013, allocations: 2.402 MB / 1.14 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/1.015, allocations: 1.635 MB / 1.142 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004448/1.02, allocations: 1.399 MB / 1.143 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/1.021, allocations: 0.86 MB / 1.144 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003627/1.022, allocations: 171 kB / 1.144 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/1.025, allocations: 1.394 MB / 1.145 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005532/1.026, allocations: 493.6 kB / 1.146 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/1.027, allocations: 0.8533 MB / 1.147 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004521/1.031, allocations: 2.706 MB / 1.149 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.031, allocations: 5.281 kB / 1.149 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/1.031, allocations: 4 kB / 1.149 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.956e-05/1.031, allocations: 0 / 1.149 GB, free: 1.008 MB / 0.8575 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.004041/1.035, allocations: 1.997 MB / 1.151 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.035, allocations: 8.625 kB / 1.151 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/1.038, allocations: 407 kB / 1.152 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/1.04, allocations: 0.9931 MB / 1.153 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.37e-05/1.04, allocations: 105.8 kB / 1.153 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/1.04, allocations: 132.8 kB / 1.153 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/1.043, allocations: 1.517 MB / 1.154 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/1.043, allocations: 0 / 1.154 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/1.043, allocations: 63.58 kB / 1.155 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/1.043, allocations: 37.62 kB / 1.155 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/1.046, allocations: 1.583 MB / 1.156 GB, free: 13.79 MB / 0.8731 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.007774/1.054, allocations: 5.077 MB / 1.161 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/1.056, allocations: 1.516 MB / 1.163 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008519/1.057, allocations: 486.9 kB / 1.163 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007482/1.058, allocations: 427.8 kB / 1.163 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/1.059, allocations: 0.6895 MB / 1.164 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 2.965e-06/1.059, allocations: 0 / 1.164 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107): time 0.004561/1.064, allocations: 1.669 MB / 1.166 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.064, allocations: 197.1 kB / 1.166 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.065, allocations: 0.8941 MB / 1.167 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.065, allocations: 49.55 kB / 1.167 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/1.066, allocations: 0.5913 MB / 1.167 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/1.066, allocations: 355.3 kB / 1.168 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/1.067, allocations: 218.9 kB / 1.168 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.067, allocations: 350.7 kB / 1.168 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/1.068, allocations: 395.4 kB / 1.169 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009734/1.069, allocations: 0.5735 MB / 1.169 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/1.07, allocations: 0.9586 MB / 1.17 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.07, allocations: 1.875 kB / 1.17 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00279/1.073, allocations: 1.228 MB / 1.171 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.073, allocations: 12.88 kB / 1.171 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.073, allocations: 1.406 kB / 1.171 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/1.074, allocations: 88.39 kB / 1.171 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.075, allocations: 251.2 kB / 1.172 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/1.077, allocations: 1.65 MB / 1.173 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.078, allocations: 134.4 kB / 1.173 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.079, allocations: 54.36 kB / 1.174 GB, free: 2.848 MB / 0.8731 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.0007304/1.079, allocations: 351.5 kB / 1.174 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/1.08, allocations: 122.6 kB / 1.174 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/1.083, allocations: 1.437 MB / 1.175 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.083, allocations: 14.72 kB / 1.175 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.083, allocations: 6.938 kB / 1.175 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.083, allocations: 7.922 kB / 1.175 GB, free: 1.691 MB / 0.8731 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.004811/1.088, allocations: 2.867 MB / 1.178 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/1.088, allocations: 3.984 kB / 1.178 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009827/1.089, allocations: 223.6 kB / 1.178 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/1.089, allocations: 69.92 kB / 1.178 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.293e-05/1.089, allocations: 34.56 kB / 1.179 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/1.091, allocations: 1.678 MB / 1.18 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.091, allocations: 0 / 1.18 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/1.094, allocations: 1.316 MB / 1.181 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/1.095, allocations: 357.7 kB / 1.182 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.095, allocations: 27.59 kB / 1.182 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009666/1.096, allocations: 81.28 kB / 1.182 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.096, allocations: 80.92 kB / 1.182 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.096, allocations: 54.95 kB / 1.182 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008975/1.097, allocations: 0.6184 MB / 1.183 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.21e-07/1.097, allocations: 0 / 1.183 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001432/1.098, allocations: 496.3 kB / 1.183 GB, free: 12.4 MB / 0.8887 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.001635/1.1, allocations: 0.6982 MB / 1.184 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003518/1.104, allocations: 1.476 MB / 1.185 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.104, allocations: 0 / 1.185 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.105, allocations: 0.6807 MB / 1.186 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/1.107, allocations: 0.517 MB / 1.186 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/1.113, allocations: 2.51 MB / 1.189 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/1.114, allocations: 1.213 MB / 1.19 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/1.114, allocations: 158.7 kB / 1.19 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of SimCode: time 8.01e-07/1.114, allocations: 0 / 1.19 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of Templates: time 0.03792/1.152, allocations: 28.18 MB / 1.218 GB, free: 4.191 MB / 0.9044 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