Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001762/0.001762, allocations: 200.4 kB / 16.91 MB, free: 6.195 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 469.8 MB / 0.7427 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 60.47 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3484, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003997/0.3525, allocations: 2.162 MB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3546, allocations: 1.153 MB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3548, allocations: 4 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.3553, allocations: 103.5 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3554, allocations: 39.66 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007609/0.3562, allocations: 235.7 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.3566, allocations: 315.3 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.3568, allocations: 99.25 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.3569, allocations: 99.69 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.3571, allocations: 139.4 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/0.3572, allocations: 28 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.3575, allocations: 227.7 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.3577, allocations: 95.67 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3579, allocations: 151.2 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.3584, allocations: 419.1 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3584, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3584, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3584, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8419 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.001313/0.3597, allocations: 0.8103 MB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3598, allocations: 16.02 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.772e-05/0.3599, allocations: 36.47 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.3604, allocations: 316.4 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3604, allocations: 12.66 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.3604, allocations: 16.38 kB / 1.07 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.3611, allocations: 299.2 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3611, allocations: 0 / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.3612, allocations: 8 kB / 1.071 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3612, allocations: 4 kB / 1.071 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.3619, allocations: 280.2 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.363, allocations: 0.6683 MB / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.3636, allocations: 230.6 kB / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.364, allocations: 188.8 kB / 1.072 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.364, allocations: 7.984 kB / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.364, allocations: 30.56 kB / 1.072 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.364, allocations: 0 / 1.072 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.001426/0.3655, allocations: 0.681 MB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.3656, allocations: 132.5 kB / 1.073 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.3661, allocations: 380.5 kB / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.3661, allocations: 33.7 kB / 1.073 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3663, allocations: 176.3 kB / 1.073 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.3664, allocations: 43.36 kB / 1.073 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.3665, allocations: 45.7 kB / 1.074 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3667, allocations: 342.8 kB / 1.074 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.3671, allocations: 235.8 kB / 1.074 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.3676, allocations: 243.8 kB / 1.074 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3686, allocations: 0.6738 MB / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3686, allocations: 0 / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001193/0.3698, allocations: 0.7364 MB / 1.076 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.37, allocations: 182.2 kB / 1.076 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.37, allocations: 0 / 1.076 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.37, allocations: 0 / 1.076 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3702, allocations: 35.97 kB / 1.076 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.3702, allocations: 4 kB / 1.076 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.3705, allocations: 43.75 kB / 1.076 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3705, allocations: 12 kB / 1.076 GB, free: 2.574 MB / 0.8419 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002678/0.3708, allocations: 254.8 kB / 1.076 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.3708, allocations: 31.62 kB / 1.076 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.3709, allocations: 30.94 kB / 1.076 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3709, allocations: 0 / 1.076 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3709, allocations: 3.938 kB / 1.076 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3709, allocations: 7.984 kB / 1.076 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.3714, allocations: 353.2 kB / 1.077 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3714, allocations: 0 / 1.077 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.3716, allocations: 31.91 kB / 1.077 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3716, allocations: 3.938 kB / 1.077 GB, free: 1.793 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.3716, allocations: 8 kB / 1.077 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3716, allocations: 0 / 1.077 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3716, allocations: 0 / 1.077 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3726, allocations: 0.6174 MB / 1.077 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3728, allocations: 108.7 kB / 1.077 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.3728, allocations: 8 kB / 1.077 GB, free: 1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.373, allocations: 31.95 kB / 1.077 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.3732, allocations: 31.91 kB / 1.077 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.3732, allocations: 8 kB / 1.077 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003153/0.3735, allocations: 271 kB / 1.078 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3735, allocations: 0 / 1.078 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004405/0.374, allocations: 107.9 kB / 1.078 GB, free: 0.5586 MB / 0.8419 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000323/0.3743, allocations: 159.2 kB / 1.078 GB, free: 404 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4793/0.8536, allocations: 0.8413 MB / 1.079 GB, free: 22.51 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8536, allocations: 0 / 1.079 GB, free: 22.51 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.8542, allocations: 377.7 kB / 1.079 GB, free: 22.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.8548, allocations: 74.73 kB / 1.079 GB, free: 22.32 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.856, allocations: 0.7617 MB / 1.08 GB, free: 21.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.8563, allocations: 0.7811 MB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.8564, allocations: 23.17 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/0.8564, allocations: 3.906 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.009999/0.8664, allocations: 4.943 MB / 1.086 GB, free: 20.95 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches