Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001068/0.001068, allocations: 176.9 kB / 492.3 MB, free: 0.6289 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.61/1.61, allocations: 221.3 MB / 0.7871 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 105.8 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.392e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3218, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.411, allocations: 153.5 MB / 1.362 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.412, allocations: 93.11 kB / 1.362 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01894/1.43, allocations: 6.945 MB / 1.369 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.103e-06/1.431, allocations: 0 / 1.369 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.654e-05/1.431, allocations: 3.844 kB / 1.369 GB, free: 34.37 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.00086/1.431, allocations: 0.7321 MB / 1.37 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.431, allocations: 11.53 kB / 1.37 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/1.432, allocations: 34.81 kB / 1.37 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/1.432, allocations: 314.4 kB / 1.37 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/1.432, allocations: 14.42 kB / 1.37 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/1.432, allocations: 18.56 kB / 1.37 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/1.432, allocations: 249.9 kB / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.432, allocations: 0 / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/1.432, allocations: 11.53 kB / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.432, allocations: 3.844 kB / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/1.433, allocations: 206.8 kB / 1.371 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/1.434, allocations: 0.7296 MB / 1.371 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/1.434, allocations: 207.6 kB / 1.372 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/1.434, allocations: 149.2 kB / 1.372 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/1.434, allocations: 3.906 kB / 1.372 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/1.434, allocations: 33.92 kB / 1.372 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/1.434, allocations: 3.938 kB / 1.372 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0005414/1.435, allocations: 438.7 kB / 1.372 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.435, allocations: 139.4 kB / 1.372 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/1.435, allocations: 345.5 kB / 1.373 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/1.435, allocations: 33.42 kB / 1.373 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.436, allocations: 162.5 kB / 1.373 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/1.436, allocations: 44.09 kB / 1.373 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/1.436, allocations: 3.312 kB / 1.373 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.436, allocations: 339.8 kB / 1.373 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/1.436, allocations: 197.9 kB / 1.373 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/1.436, allocations: 196.7 kB / 1.374 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/1.436, allocations: 368.9 kB / 1.374 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.436, allocations: 0 / 1.374 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000608/1.437, allocations: 0.6428 MB / 1.375 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.632e-05/1.437, allocations: 186.6 kB / 1.375 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.437, allocations: 0 / 1.375 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.437, allocations: 0 / 1.375 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/1.437, allocations: 40.48 kB / 1.375 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.437, allocations: 3.875 kB / 1.375 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/1.438, allocations: 52.3 kB / 1.375 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/1.438, allocations: 15.08 kB / 1.375 GB, free: 31.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * 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.0001229/1.438, allocations: 205.5 kB / 1.375 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/1.438, allocations: 30.91 kB / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/1.438, allocations: 32.77 kB / 1.375 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.438, allocations: 0 / 1.375 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.438, allocations: 0 / 1.375 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.438, allocations: 0 / 1.375 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/1.438, allocations: 365.5 kB / 1.376 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.438, allocations: 0 / 1.376 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/1.438, allocations: 45.12 kB / 1.376 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.438, allocations: 0 / 1.376 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/1.438, allocations: 7.75 kB / 1.376 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/1.438, allocations: 0 / 1.376 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.438, allocations: 0 / 1.376 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/1.439, allocations: 0.5524 MB / 1.376 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/1.439, allocations: 109 kB / 1.376 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/1.439, allocations: 10.62 kB / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/1.439, allocations: 35.75 kB / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.439, allocations: 29.67 kB / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/1.439, allocations: 10.91 kB / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000253/1.44, allocations: 272 kB / 1.377 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.254e-06/1.44, allocations: 0 / 1.377 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005402/1.44, allocations: 128.1 kB / 1.377 GB, free: 30.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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 Backend phase and start with SimCode phase: time 0.0004627/1.441, allocations: 284.1 kB / 1.377 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006729/1.441, allocations: 0.7557 MB / 1.378 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.441, allocations: 0 / 1.378 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/1.442, allocations: 342.9 kB / 1.378 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/1.442, allocations: 67.69 kB / 1.378 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/1.443, allocations: 496.3 kB / 1.379 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/1.443, allocations: 0.7967 MB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.21e-05/1.443, allocations: 20.62 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/1.443, allocations: 18.02 kB / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.443, allocations: 0 / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.01023/1.454, allocations: 6.703 MB / 1.386 GB, free: 27.03 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches