Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001536/0.001536, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001799/0.001799, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 461.8 MB / 0.7342 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 70.41 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2875, allocations: 157.4 MB / 1.052 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1764/0.4639, allocations: 174.5 MB / 1.222 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.4807, allocations: 12.85 MB / 1.235 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.4819, allocations: 31.81 kB / 1.235 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.4831, allocations: 381.5 kB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.4856, allocations: 0.9206 MB / 1.236 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.4897, allocations: 1.675 MB / 1.238 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003075/0.4928, allocations: 2.871 MB / 1.241 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.4949, allocations: 1.447 MB / 1.242 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/0.4996, allocations: 1.274 MB / 1.243 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.5009, allocations: 0.8672 MB / 1.244 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.5012, allocations: 92 kB / 1.244 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.5039, allocations: 1.462 MB / 1.246 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000387/0.5043, allocations: 410.6 kB / 1.246 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008468/0.5051, allocations: 0.8043 MB / 1.247 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6157/1.121, allocations: 2.728 MB / 1.25 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.121, allocations: 0.9375 kB / 1.25 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.324e-06/1.121, allocations: 0.6875 kB / 1.25 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.727e-05/1.121, allocations: 0 / 1.25 GB, free: 8.977 MB / 0.9981 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.006841/1.128, allocations: 2.03 MB / 1.252 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.128, allocations: 10.44 kB / 1.252 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00315/1.131, allocations: 400.6 kB / 1.252 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/1.133, allocations: 0.9877 MB / 1.253 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/1.133, allocations: 101 kB / 1.253 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.133, allocations: 133.4 kB / 1.253 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/1.136, allocations: 1.53 MB / 1.255 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/1.136, allocations: 1.969 kB / 1.255 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/1.136, allocations: 61.75 kB / 1.255 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/1.136, allocations: 33.06 kB / 1.255 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/1.139, allocations: 1.581 MB / 1.256 GB, free: 7.355 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 preOpt removeSimpleEquations (simulation): time 0.007726/1.147, allocations: 5.317 MB / 1.262 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/1.149, allocations: 1.517 MB / 1.263 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008133/1.15, allocations: 483.2 kB / 1.263 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/1.151, allocations: 428.9 kB / 1.264 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/1.152, allocations: 0.6839 MB / 1.265 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 2.976e-06/1.152, allocations: 0 / 1.265 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107): time 0.005221/1.157, allocations: 1.67 MB / 1.266 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003253/1.158, allocations: 199 kB / 1.266 GB, free: 19.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/1.159, allocations: 0.8939 MB / 1.267 GB, free: 19.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/1.16, allocations: 51.34 kB / 1.267 GB, free: 19.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/1.16, allocations: 0.5992 MB / 1.268 GB, free: 19.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/1.161, allocations: 350.6 kB / 1.268 GB, free: 18.85 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/1.161, allocations: 215.4 kB / 1.268 GB, free: 18.83 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.161, allocations: 345.1 kB / 1.269 GB, free: 18.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008739/1.162, allocations: 395.8 kB / 1.269 GB, free: 18.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.163, allocations: 0.5701 MB / 1.27 GB, free: 18.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/1.165, allocations: 0.9569 MB / 1.271 GB, free: 18.24 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/1.165, allocations: 1.969 kB / 1.271 GB, free: 18.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003808/1.169, allocations: 1.236 MB / 1.272 GB, free: 18.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/1.169, allocations: 7.297 kB / 1.272 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.169, allocations: 3.25 kB / 1.272 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/1.17, allocations: 86.08 kB / 1.272 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.171, allocations: 256.6 kB / 1.272 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/1.173, allocations: 1.545 MB / 1.274 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/1.175, allocations: 153 kB / 1.274 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/1.175, allocations: 50.08 kB / 1.274 GB, free: 16.73 MB / 1.014 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.000958/1.176, allocations: 355.3 kB / 1.274 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/1.176, allocations: 122.5 kB / 1.274 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/1.18, allocations: 1.434 MB / 1.276 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/1.18, allocations: 14.42 kB / 1.276 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.18, allocations: 0 / 1.276 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.18, allocations: 6.094 kB / 1.276 GB, free: 16.43 MB / 1.014 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.005513/1.185, allocations: 2.87 MB / 1.279 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.185, allocations: 0 / 1.279 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009793/1.186, allocations: 217 kB / 1.279 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005083/1.187, allocations: 86.66 kB / 1.279 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/1.187, allocations: 32.05 kB / 1.279 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/1.189, allocations: 1.567 MB / 1.28 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.189, allocations: 0.5469 kB / 1.28 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/1.192, allocations: 1.321 MB / 1.282 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008751/1.193, allocations: 357.6 kB / 1.282 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/1.193, allocations: 28.05 kB / 1.282 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.194, allocations: 110.3 kB / 1.282 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/1.195, allocations: 83.86 kB / 1.282 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.195, allocations: 49.73 kB / 1.282 GB, free: 14.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001252/1.196, allocations: 0.6203 MB / 1.283 GB, free: 14.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.196, allocations: 1.406 kB / 1.283 GB, free: 14.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002302/1.198, allocations: 492.3 kB / 1.283 GB, free: 14 MB / 1.014 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.002264/1.201, allocations: 0.7271 MB / 1.284 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002827/1.204, allocations: 1.144 MB / 1.285 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.204, allocations: 1.625 kB / 1.285 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/1.205, allocations: 0.6818 MB / 1.286 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.209, allocations: 0.4899 MB / 1.286 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006885/1.216, allocations: 2.949 MB / 1.289 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.217, allocations: 1.214 MB / 1.29 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002419/1.22, allocations: 395.7 kB / 1.291 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/1.22, allocations: 137.6 kB / 1.291 GB, free: 11.16 MB / 1.014 GB Notification: Performance of SimCode: time 1.093e-06/1.22, allocations: 0 / 1.291 GB, free: 11.16 MB / 1.014 GB Notification: Performance of Templates: time 0.04538/1.266, allocations: 23.54 MB / 1.314 GB, free: 8.168 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches