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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009918/0.0009917, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001043/0.001043, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003247, allocations: 11.94 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5795, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1601/0.7397, allocations: 160.6 MB / 1.179 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.7546, allocations: 11.89 MB / 1.191 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.7563, allocations: 27.81 kB / 1.191 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.7577, allocations: 329.6 kB / 1.191 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.76, allocations: 0.8701 MB / 1.192 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.7637, allocations: 1.377 MB / 1.193 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003239/0.7669, allocations: 2.531 MB / 1.196 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.7689, allocations: 1.161 MB / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.7711, allocations: 1.058 MB / 1.198 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008456/0.772, allocations: 0.6999 MB / 1.199 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.7721, allocations: 51.98 kB / 1.199 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.7741, allocations: 0.8735 MB / 1.2 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.7744, allocations: 334.7 kB / 1.2 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.7747, allocations: 312.9 kB / 1.2 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.7767, allocations: 1.952 MB / 1.202 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7767, allocations: 4 kB / 1.202 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7767, allocations: 0 / 1.202 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.7767, allocations: 0 / 1.202 GB, free: 7.438 MB / 0.9512 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.002864/0.7796, allocations: 1.717 MB / 1.204 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7797, allocations: 12.02 kB / 1.204 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/0.7821, allocations: 425.5 kB / 1.204 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.7835, allocations: 0.9534 MB / 1.205 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.592e-05/0.7836, allocations: 106.7 kB / 1.205 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.7838, allocations: 128 kB / 1.205 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.7864, allocations: 1.517 MB / 1.207 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.7864, allocations: 3.938 kB / 1.207 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.7866, allocations: 63.95 kB / 1.207 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.7866, allocations: 32 kB / 1.207 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.7892, allocations: 1.583 MB / 1.209 GB, free: 0.7227 MB / 0.9512 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.00661/0.7958, allocations: 5.334 MB / 1.214 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.7983, allocations: 1.533 MB / 1.215 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/0.7991, allocations: 480.8 kB / 1.216 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007064/0.7999, allocations: 441.3 kB / 1.216 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.801, allocations: 0.6918 MB / 1.217 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=107): time 2.675e-06/0.8011, allocations: 0 / 1.217 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=107): time 0.003986/0.8051, allocations: 1.664 MB / 1.218 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.8052, allocations: 196.9 kB / 1.219 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.8063, allocations: 0.8881 MB / 1.219 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.674e-05/0.8064, allocations: 49.64 kB / 1.22 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.8068, allocations: 0.6013 MB / 1.22 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.8071, allocations: 358.8 kB / 1.22 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.8072, allocations: 20 kB / 1.22 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8073, allocations: 353.9 kB / 1.221 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007707/0.8081, allocations: 394.4 kB / 1.221 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000907/0.809, allocations: 0.5707 MB / 1.222 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008659/0.8099, allocations: 462.8 kB / 1.222 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8099, allocations: 0 / 1.222 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002512/0.8124, allocations: 1.231 MB / 1.223 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.8124, allocations: 4 kB / 1.223 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.8125, allocations: 7.953 kB / 1.223 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.813, allocations: 89.17 kB / 1.223 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.8142, allocations: 263.6 kB / 1.224 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.8161, allocations: 1.541 MB / 1.225 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.8172, allocations: 163.7 kB / 1.225 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/0.8173, allocations: 51.91 kB / 1.225 GB, free: 14.59 MB / 0.9825 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006265/0.8179, allocations: 347.2 kB / 1.226 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.8181, allocations: 122.6 kB / 1.226 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/0.8212, allocations: 1.448 MB / 1.227 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.8213, allocations: 12 kB / 1.227 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8213, allocations: 3.984 kB / 1.227 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.8213, allocations: 7.984 kB / 1.227 GB, free: 12.64 MB / 0.9825 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.004662/0.826, allocations: 2.877 MB / 1.23 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.826, allocations: 3.953 kB / 1.23 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.827, allocations: 219.7 kB / 1.23 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/0.8275, allocations: 88.77 kB / 1.23 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/0.8276, allocations: 31.97 kB / 1.23 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.8293, allocations: 1.552 MB / 1.232 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8293, allocations: 0 / 1.232 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.8318, allocations: 1.328 MB / 1.233 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005585/0.8324, allocations: 379 kB / 1.234 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.8325, allocations: 23.98 kB / 1.234 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009495/0.8335, allocations: 123.2 kB / 1.234 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.8337, allocations: 88.81 kB / 1.234 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.8338, allocations: 51.95 kB / 1.234 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000812/0.8346, allocations: 0.611 MB / 1.234 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.8346, allocations: 0 / 1.234 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00125/0.8359, allocations: 0.491 MB / 1.235 GB, free: 4.516 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.8374, allocations: 0.7055 MB / 1.236 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.8396, allocations: 1.144 MB / 1.237 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8396, allocations: 0 / 1.237 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.8407, allocations: 0.6875 MB / 1.237 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.8427, allocations: 496.8 kB / 1.238 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.8469, allocations: 2.922 MB / 1.241 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.8476, allocations: 1.217 MB / 1.242 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001427/0.8491, allocations: 385.8 kB / 1.242 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.8495, allocations: 135.4 kB / 1.242 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of SimCode: time 2.154e-06/0.8495, allocations: 0 / 1.242 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of Templates: time 0.4789/1.328, allocations: 22.7 MB / 1.265 GB, free: 226.5 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches