Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009876, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001037/0.001037, allocations: 177.3 kB / 15.94 MB, free: 228 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.364/1.364, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.525/2.525, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7419/0.7423, allocations: 142.3 MB / 0.9535 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.0346/0.777, allocations: 35.25 MB / 0.988 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.7883, allocations: 7.728 MB / 0.9955 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.7897, allocations: 31.81 kB / 0.9955 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.7912, allocations: 0.5014 MB / 0.996 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00336/0.7946, allocations: 1.192 MB / 0.9972 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.7979, allocations: 1.161 MB / 0.9983 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002564/0.8005, allocations: 1.516 MB / 0.9998 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.8013, allocations: 0.6397 MB / 1 GB, free: 12 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.8027, allocations: 0.7318 MB / 1.001 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.8033, allocations: 485.7 kB / 1.002 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-05/0.8034, allocations: 36 kB / 1.002 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.8051, allocations: 0.7255 MB / 1.002 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.8053, allocations: 227.1 kB / 1.003 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.8056, allocations: 261.1 kB / 1.003 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.8073, allocations: 1.652 MB / 1.004 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8073, allocations: 4 kB / 1.004 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8073, allocations: 0 / 1.004 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.8073, allocations: 0 / 1.004 GB, free: 11.89 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002264/0.8096, allocations: 1.5 MB / 1.006 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.8097, allocations: 8.031 kB / 1.006 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.8099, allocations: 138.5 kB / 1.006 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.8117, allocations: 1.132 MB / 1.007 GB, free: 8.977 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.8117, allocations: 49.31 kB / 1.007 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.8118, allocations: 71.94 kB / 1.007 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.8131, allocations: 0.798 MB / 1.008 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.8131, allocations: 0 / 1.008 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.8132, allocations: 28 kB / 1.008 GB, free: 8.012 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.8133, allocations: 16 kB / 1.008 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.8143, allocations: 0.6257 MB / 1.009 GB, free: 7.371 MB / 0.7637 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.003845/0.8182, allocations: 3.119 MB / 1.012 GB, free: 4.082 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007762/0.819, allocations: 459.5 kB / 1.012 GB, free: 3.625 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008156/0.8198, allocations: 0.7792 MB / 1.013 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.8198, allocations: 42.45 kB / 1.013 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=38): time 1.974e-06/0.8198, allocations: 0 / 1.013 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of matching and sorting (n=38): time 0.001664/0.8215, allocations: 1.247 MB / 1.014 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.8216, allocations: 140.8 kB / 1.014 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.8228, allocations: 1.001 MB / 1.015 GB, free: 116 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.8228, allocations: 41.7 kB / 1.015 GB, free: 68 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.8233, allocations: 464.5 kB / 1.016 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.8234, allocations: 130.1 kB / 1.016 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.8234, allocations: 15.94 kB / 1.016 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8235, allocations: 326 kB / 1.016 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/0.824, allocations: 324.8 kB / 1.017 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.8246, allocations: 435.6 kB / 1.017 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.8252, allocations: 0.5235 MB / 1.017 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8252, allocations: 0 / 1.017 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001507/0.8267, allocations: 1.072 MB / 1.019 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004671/0.8272, allocations: 0.9706 MB / 1.019 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8272, allocations: 4 kB / 1.019 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.8273, allocations: 4 kB / 1.019 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.8276, allocations: 95.89 kB / 1.02 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.8277, allocations: 4 kB / 1.02 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.8283, allocations: 111.2 kB / 1.02 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.8284, allocations: 31.89 kB / 1.02 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.8284, allocations: 4 kB / 1.02 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/0.8298, allocations: 1.078 MB / 1.021 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8298, allocations: 3.984 kB / 1.021 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.8298, allocations: 4 kB / 1.021 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.8302, allocations: 91.89 kB / 1.021 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.8302, allocations: 8.25 kB / 1.021 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.8308, allocations: 109 kB / 1.021 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.8309, allocations: 27.98 kB / 1.021 GB, free: 10.02 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006457/0.8315, allocations: 474 kB / 1.021 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.8317, allocations: 102.7 kB / 1.022 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.8332, allocations: 0.9305 MB / 1.022 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.8332, allocations: 11.97 kB / 1.022 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8332, allocations: 0 / 1.022 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/0.8344, allocations: 0.9803 MB / 1.023 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.8377, allocations: 2.09 MB / 1.025 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.8377, allocations: 4 kB / 1.025 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.838, allocations: 63.89 kB / 1.026 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.8381, allocations: 4 kB / 1.026 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.8381, allocations: 20.28 kB / 1.026 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.8381, allocations: 11.94 kB / 1.026 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8381, allocations: 0 / 1.026 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.84, allocations: 1.535 MB / 1.027 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.8404, allocations: 287.6 kB / 1.027 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.8406, allocations: 16 kB / 1.027 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.8412, allocations: 55.95 kB / 1.027 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.8414, allocations: 51.89 kB / 1.027 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.8414, allocations: 23.98 kB / 1.027 GB, free: 3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001101/0.8425, allocations: 0.714 MB / 1.028 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8425, allocations: 0 / 1.028 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001467/0.844, allocations: 0.5109 MB / 1.029 GB, free: 1.766 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009086/0.8449, allocations: 402.5 kB / 1.029 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.8472, allocations: 1.905 MB / 1.031 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8473, allocations: 4 kB / 1.031 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.8479, allocations: 0.5448 MB / 1.031 GB, free: 14.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.8502, allocations: 0.4919 MB / 1.032 GB, free: 14.25 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.8533, allocations: 2.294 MB / 1.034 GB, free: 11.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.854, allocations: 1.087 MB / 1.035 GB, free: 10.78 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007835/0.8548, allocations: 215.7 kB / 1.035 GB, free: 10.58 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.855, allocations: 75.42 kB / 1.036 GB, free: 10.51 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/0.855, allocations: 3.938 kB / 1.036 GB, free: 10.5 MB / 0.795 GB Notification: Performance of Templates: time 0.03503/0.8901, allocations: 22.04 MB / 1.057 GB, free: 4.781 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches