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.00167/0.001669, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001579/0.001579, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.665/2.665, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 72.05 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.7838, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1855/0.9693, allocations: 176.8 MB / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.9873, allocations: 12.81 MB / 1.394 GB, free: 15.31 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.9886, allocations: 35.75 kB / 1.394 GB, free: 15.27 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.9903, allocations: 468.4 kB / 1.394 GB, free: 14.81 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.9936, allocations: 1.023 MB / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.9986, allocations: 1.871 MB / 1.397 GB, free: 11.92 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003436/1.002, allocations: 2.536 MB / 1.399 GB, free: 9.379 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/1.005, allocations: 1.61 MB / 1.401 GB, free: 7.715 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/1.009, allocations: 1.434 MB / 1.402 GB, free: 6.309 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/1.011, allocations: 0.8791 MB / 1.403 GB, free: 5.426 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005144/1.011, allocations: 172 kB / 1.403 GB, free: 5.258 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/1.014, allocations: 1.423 MB / 1.405 GB, free: 3.832 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007303/1.015, allocations: 0.4907 MB / 1.405 GB, free: 3.34 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/1.017, allocations: 0.8747 MB / 1.406 GB, free: 2.461 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005241/1.022, allocations: 2.792 MB / 1.409 GB, free: 15.66 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.022, allocations: 0 / 1.409 GB, free: 15.66 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.794e-06/1.022, allocations: 0 / 1.409 GB, free: 15.66 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.662e-05/1.022, allocations: 3.984 kB / 1.409 GB, free: 15.65 MB / 1.139 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.00482/1.027, allocations: 2.036 MB / 1.411 GB, free: 13.56 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.027, allocations: 16.03 kB / 1.411 GB, free: 13.54 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/1.03, allocations: 409.5 kB / 1.411 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/1.032, allocations: 1.027 MB / 1.412 GB, free: 12.07 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.032, allocations: 98.72 kB / 1.412 GB, free: 11.97 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/1.033, allocations: 132 kB / 1.412 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003443/1.036, allocations: 1.524 MB / 1.414 GB, free: 10.24 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/1.036, allocations: 0 / 1.414 GB, free: 10.24 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/1.036, allocations: 60 kB / 1.414 GB, free: 10.18 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/1.037, allocations: 32 kB / 1.414 GB, free: 10.15 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/1.04, allocations: 1.583 MB / 1.416 GB, free: 8.562 MB / 1.139 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.007905/1.047, allocations: 5.302 MB / 1.421 GB, free: 2.938 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/1.05, allocations: 1.506 MB / 1.422 GB, free: 1.352 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/1.051, allocations: 480.9 kB / 1.423 GB, free: 0.875 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007688/1.052, allocations: 425.3 kB / 1.423 GB, free: 396 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/1.053, allocations: 0.6879 MB / 1.424 GB, free: 15.68 MB / 1.154 GB Notification: Performance of pre-optimization done (n=107): time 3.596e-06/1.053, allocations: 4 kB / 1.424 GB, free: 15.67 MB / 1.154 GB Notification: Performance of matching and sorting (n=107): time 0.004533/1.058, allocations: 1.668 MB / 1.425 GB, free: 13.98 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.058, allocations: 192.9 kB / 1.426 GB, free: 13.75 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.059, allocations: 0.8959 MB / 1.426 GB, free: 12.83 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/1.06, allocations: 49.7 kB / 1.426 GB, free: 12.77 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/1.06, allocations: 0.5935 MB / 1.427 GB, free: 12.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/1.061, allocations: 350.9 kB / 1.427 GB, free: 11.83 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/1.061, allocations: 222.7 kB / 1.428 GB, free: 11.61 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.061, allocations: 345.9 kB / 1.428 GB, free: 11.26 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/1.062, allocations: 398.4 kB / 1.428 GB, free: 10.87 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/1.063, allocations: 0.5707 MB / 1.429 GB, free: 10.25 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/1.065, allocations: 0.9604 MB / 1.43 GB, free: 9.246 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.065, allocations: 0 / 1.43 GB, free: 9.246 MB / 1.154 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002927/1.068, allocations: 1.231 MB / 1.431 GB, free: 8.004 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.068, allocations: 8 kB / 1.431 GB, free: 7.996 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.068, allocations: 0 / 1.431 GB, free: 7.996 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/1.068, allocations: 89.17 kB / 1.431 GB, free: 7.906 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.07, allocations: 251.7 kB / 1.431 GB, free: 7.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/1.072, allocations: 1.658 MB / 1.433 GB, free: 5.859 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.073, allocations: 142.8 kB / 1.433 GB, free: 5.719 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/1.073, allocations: 51.91 kB / 1.433 GB, free: 5.668 MB / 1.154 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.0008126/1.074, allocations: 343.3 kB / 1.433 GB, free: 5.324 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/1.075, allocations: 122.5 kB / 1.434 GB, free: 5.203 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/1.078, allocations: 1.437 MB / 1.435 GB, free: 3.75 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.078, allocations: 12 kB / 1.435 GB, free: 3.738 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.078, allocations: 0 / 1.435 GB, free: 3.738 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/1.078, allocations: 7.969 kB / 1.435 GB, free: 3.73 MB / 1.154 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.005481/1.084, allocations: 2.868 MB / 1.438 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.084, allocations: 0 / 1.438 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.085, allocations: 215.8 kB / 1.438 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/1.085, allocations: 76.72 kB / 1.438 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.63e-05/1.085, allocations: 35.97 kB / 1.438 GB, free: 468 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/1.087, allocations: 1.67 MB / 1.44 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.087, allocations: 0 / 1.44 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/1.09, allocations: 1.334 MB / 1.441 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007489/1.091, allocations: 359.1 kB / 1.441 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/1.092, allocations: 23.98 kB / 1.441 GB, free: 12.89 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.093, allocations: 81.8 kB / 1.441 GB, free: 12.81 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/1.093, allocations: 88.81 kB / 1.442 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.093, allocations: 47.97 kB / 1.442 GB, free: 12.68 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001061/1.094, allocations: 0.6189 MB / 1.442 GB, free: 12.05 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 0 / 1.442 GB, free: 12.05 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001529/1.096, allocations: 494.9 kB / 1.443 GB, free: 11.57 MB / 1.17 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.002067/1.098, allocations: 0.7033 MB / 1.443 GB, free: 11.05 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002792/1.1, allocations: 1.159 MB / 1.445 GB, free: 9.875 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.1, allocations: 4.75 kB / 1.445 GB, free: 9.871 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/1.102, allocations: 0.6797 MB / 1.445 GB, free: 9.184 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/1.105, allocations: 0.5307 MB / 1.446 GB, free: 8.672 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/1.109, allocations: 2.366 MB / 1.448 GB, free: 6.266 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009559/1.11, allocations: 1.21 MB / 1.449 GB, free: 5.027 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/1.111, allocations: 159.3 kB / 1.449 GB, free: 4.871 MB / 1.17 GB Notification: Performance of SimCode: time 6.91e-07/1.111, allocations: 0 / 1.449 GB, free: 4.871 MB / 1.17 GB Notification: Performance of Templates: time 0.04176/1.153, allocations: 28.55 MB / 1.477 GB, free: 8.457 MB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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