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/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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.693, allocations: 140.3 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003555/0.6966, allocations: 2.096 MB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.6982, allocations: 1.173 MB / 0.9528 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.6984, allocations: 3.344 kB / 0.9528 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.6988, allocations: 112.1 kB / 0.9529 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.6989, allocations: 50.73 kB / 0.9529 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.6997, allocations: 256 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.7001, allocations: 324.5 kB / 0.9535 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.7004, allocations: 104.7 kB / 0.9536 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.7005, allocations: 104.8 kB / 0.9537 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.7007, allocations: 123.6 kB / 0.9538 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.7008, allocations: 29.59 kB / 0.9538 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.7012, allocations: 225.5 kB / 0.9541 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.7013, allocations: 87.52 kB / 0.9541 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.7015, allocations: 156.3 kB / 0.9543 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.7021, allocations: 0.5458 MB / 0.9548 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7021, allocations: 0 / 0.9548 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7021, allocations: 0 / 0.9548 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.7021, allocations: 5.031 kB / 0.9548 GB, free: 5.262 MB / 0.7169 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.001229/0.7034, allocations: 0.8034 MB / 0.9556 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.7034, allocations: 9.688 kB / 0.9556 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.7035, allocations: 37.36 kB / 0.9557 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.704, allocations: 327 kB / 0.956 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.704, allocations: 14.72 kB / 0.956 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.704, allocations: 20.72 kB / 0.956 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.7047, allocations: 289.9 kB / 0.9563 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.7047, allocations: 0 / 0.9563 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.7048, allocations: 6.938 kB / 0.9563 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7048, allocations: 2.969 kB / 0.9563 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.7055, allocations: 278.5 kB / 0.9565 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.7065, allocations: 0.6715 MB / 0.9572 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.7071, allocations: 235 kB / 0.9574 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.7075, allocations: 190.8 kB / 0.9576 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.7075, allocations: 0 / 0.9576 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.7076, allocations: 36.73 kB / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.7076, allocations: 0 / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001444/0.709, allocations: 0.6659 MB / 0.9583 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.7091, allocations: 137.4 kB / 0.9584 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.7096, allocations: 376.1 kB / 0.9588 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.7096, allocations: 36.42 kB / 0.9588 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.7097, allocations: 167.8 kB / 0.959 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.7098, allocations: 41.83 kB / 0.959 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.7098, allocations: 51.33 kB / 0.9591 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.7099, allocations: 342.5 kB / 0.9594 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.7104, allocations: 236.8 kB / 0.9596 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.7108, allocations: 253.1 kB / 0.9599 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009232/0.7118, allocations: 0.6751 MB / 0.9605 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7118, allocations: 0 / 0.9605 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00104/0.7128, allocations: 0.742 MB / 0.9612 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-05/0.7129, allocations: 186.9 kB / 0.9614 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7129, allocations: 0 / 0.9614 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.7129, allocations: 1.156 kB / 0.9614 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.7131, allocations: 31.16 kB / 0.9615 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7131, allocations: 1.469 kB / 0.9615 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.7133, allocations: 39.84 kB / 0.9615 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.7134, allocations: 10.56 kB / 0.9615 GB, free: 280 kB / 0.7169 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.0001676/0.7135, allocations: 256.3 kB / 0.9618 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.7136, allocations: 34.94 kB / 0.9618 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/0.7137, allocations: 28.7 kB / 0.9618 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.7137, allocations: 13.02 kB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7137, allocations: 0 / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7137, allocations: 1.312 kB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.7141, allocations: 350.4 kB / 0.9622 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7141, allocations: 1 kB / 0.9622 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.7143, allocations: 26.66 kB / 0.9622 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7143, allocations: 1.281 kB / 0.9622 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.7143, allocations: 7.938 kB / 0.9622 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7143, allocations: 0.7188 kB / 0.9622 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7143, allocations: 4 kB / 0.9622 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.7153, allocations: 0.6159 MB / 0.9628 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.7154, allocations: 105.5 kB / 0.9629 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.7155, allocations: 11.78 kB / 0.9629 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.7157, allocations: 32.27 kB / 0.9629 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7159, allocations: 33.78 kB / 0.963 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.7159, allocations: 5.281 kB / 0.963 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002831/0.7162, allocations: 269.7 kB / 0.9632 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7162, allocations: 0 / 0.9632 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000476/0.7167, allocations: 113.6 kB / 0.9633 GB, free: 14.87 MB / 0.7325 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.0002977/0.717, allocations: 160.8 kB / 0.9635 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.7182, allocations: 0.8345 MB / 0.9643 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7182, allocations: 0 / 0.9643 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.7188, allocations: 375.1 kB / 0.9647 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.7193, allocations: 77.83 kB / 0.9647 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.7204, allocations: 0.6481 MB / 0.9654 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.7207, allocations: 0.7874 MB / 0.9661 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.945e-05/0.7208, allocations: 27.31 kB / 0.9662 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.7209, allocations: 18.28 kB / 0.9662 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7209, allocations: 1.094 kB / 0.9662 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.01083/0.7317, allocations: 5.967 MB / 0.972 GB, free: 9.719 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches