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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.988/1.988, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009512/0.000951, allocations: 184.6 kB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000899/0.0008989, allocations: 107.8 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.556e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2204, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.709/4.929, allocations: 1.906 GB / 3.112 GB, free: 433.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/4.93, allocations: 88.31 kB / 3.112 GB, free: 433.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7238/5.653, allocations: 404.8 MB / 3.507 GB, free: 33.65 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.846e-06/5.653, allocations: 4 kB / 3.507 GB, free: 33.64 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001631/5.654, allocations: 43.94 kB / 3.507 GB, free: 33.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003998/5.658, allocations: 1.613 MB / 3.509 GB, free: 31.94 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/5.658, allocations: 12.03 kB / 3.509 GB, free: 31.93 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/5.66, allocations: 397.6 kB / 3.509 GB, free: 31.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/5.663, allocations: 1.173 MB / 3.51 GB, free: 30.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/5.663, allocations: 40 kB / 3.511 GB, free: 30.28 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/5.664, allocations: 76 kB / 3.511 GB, free: 30.21 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002192/5.666, allocations: 1.367 MB / 3.512 GB, free: 28.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/5.668, allocations: 1.209 MB / 3.513 GB, free: 27.55 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/5.668, allocations: 3.984 kB / 3.513 GB, free: 27.55 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/5.668, allocations: 0 / 3.513 GB, free: 27.55 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/5.668, allocations: 32 kB / 3.513 GB, free: 27.52 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005422/5.673, allocations: 4.616 MB / 3.518 GB, free: 22.68 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/5.675, allocations: 1.339 MB / 3.519 GB, free: 21.26 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/5.675, allocations: 407.6 kB / 3.519 GB, free: 20.86 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/5.676, allocations: 421.2 kB / 3.52 GB, free: 20.37 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006728/5.676, allocations: 0.5699 MB / 3.52 GB, free: 19.78 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 2.595e-06/5.676, allocations: 4 kB / 3.52 GB, free: 19.78 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.002337/5.679, allocations: 1.039 MB / 3.521 GB, free: 18.73 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/5.679, allocations: 252.1 kB / 3.522 GB, free: 18.43 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006942/5.68, allocations: 0.6135 MB / 3.522 GB, free: 17.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/5.68, allocations: 29.7 kB / 3.522 GB, free: 17.77 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/5.68, allocations: 0.5774 MB / 3.523 GB, free: 17.18 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/5.68, allocations: 311.3 kB / 3.523 GB, free: 16.88 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/5.68, allocations: 0 / 3.523 GB, free: 16.88 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/5.68, allocations: 345.9 kB / 3.523 GB, free: 16.53 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/5.681, allocations: 314.5 kB / 3.524 GB, free: 16.22 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/5.681, allocations: 0.4955 MB / 3.524 GB, free: 15.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008794/5.682, allocations: 478 kB / 3.525 GB, free: 15.19 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/5.682, allocations: 4 kB / 3.525 GB, free: 15.19 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001967/5.684, allocations: 1.078 MB / 3.526 GB, free: 14.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/5.684, allocations: 8 kB / 3.526 GB, free: 14.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/5.684, allocations: 4.375 kB / 3.526 GB, free: 14.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/5.685, allocations: 84.78 kB / 3.526 GB, free: 14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009212/5.685, allocations: 235.7 kB / 3.526 GB, free: 13.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/5.687, allocations: 1.477 MB / 3.527 GB, free: 12.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/5.688, allocations: 99.28 kB / 3.528 GB, free: 12.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/5.688, allocations: 48.16 kB / 3.528 GB, free: 12.02 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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.0002072/5.688, allocations: 132.2 kB / 3.528 GB, free: 11.89 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/5.688, allocations: 94.88 kB / 3.528 GB, free: 11.79 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/5.691, allocations: 1.332 MB / 3.529 GB, free: 10.45 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/5.691, allocations: 8 kB / 3.529 GB, free: 10.44 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/5.691, allocations: 4 kB / 3.529 GB, free: 10.44 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/5.691, allocations: 7.984 kB / 3.529 GB, free: 10.43 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/5.695, allocations: 2.513 MB / 3.532 GB, free: 7.863 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/5.695, allocations: 7.984 kB / 3.532 GB, free: 7.855 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/5.696, allocations: 215.8 kB / 3.532 GB, free: 7.645 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/5.696, allocations: 80.78 kB / 3.532 GB, free: 7.562 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/5.696, allocations: 19.97 kB / 3.532 GB, free: 7.543 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/5.698, allocations: 1.492 MB / 3.533 GB, free: 5.93 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/5.698, allocations: 7.938 kB / 3.533 GB, free: 5.922 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/5.7, allocations: 1.219 MB / 3.535 GB, free: 4.684 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/5.7, allocations: 351.4 kB / 3.535 GB, free: 4.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/5.701, allocations: 7.953 kB / 3.535 GB, free: 4.312 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/5.702, allocations: 87.77 kB / 3.535 GB, free: 4.227 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/5.702, allocations: 73.2 kB / 3.535 GB, free: 4.152 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/5.702, allocations: 43.97 kB / 3.535 GB, free: 4.109 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006171/5.702, allocations: 495.1 kB / 3.536 GB, free: 3.633 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.702, allocations: 0 / 3.536 GB, free: 3.633 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001784/5.704, allocations: 0.5493 MB / 3.536 GB, free: 3.082 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002945/5.707, allocations: 2.027 MB / 3.538 GB, free: 1.105 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001462/5.709, allocations: 0.9572 MB / 3.539 GB, free: 140 kB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/5.709, allocations: 4 kB / 3.539 GB, free: 136 kB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.629/6.338, allocations: 0.5816 MB / 3.54 GB, free: 295.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/6.34, allocations: 360.1 kB / 3.54 GB, free: 295.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/6.345, allocations: 1.775 MB / 3.542 GB, free: 295.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009384/6.346, allocations: 1.206 MB / 3.543 GB, free: 294.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001664/6.347, allocations: 366.3 kB / 3.543 GB, free: 294.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/6.348, allocations: 124.6 kB / 3.543 GB, free: 294.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.092e-06/6.348, allocations: 0 / 3.543 GB, free: 294.7 MB / 1.151 GB Notification: Performance of Templates: time 0.05134/6.399, allocations: 27.1 MB / 3.57 GB, free: 294.2 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches