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.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.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.008021/0.008022, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001664/0.001664, allocations: 198.1 kB / 16.79 MB, free: 5.809 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.498/1.498, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.537/2.537, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7723, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003236/0.7756, allocations: 2.162 MB / 0.9517 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.7774, allocations: 1.21 MB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.7775, allocations: 2.906 kB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.778, allocations: 104.4 kB / 0.953 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.7781, allocations: 35.12 kB / 0.953 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.7788, allocations: 204.5 kB / 0.9532 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.779, allocations: 260 kB / 0.9535 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.7793, allocations: 106.3 kB / 0.9536 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.7794, allocations: 88.73 kB / 0.9536 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.7795, allocations: 119.9 kB / 0.9538 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.7796, allocations: 14.03 kB / 0.9538 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.7799, allocations: 202.7 kB / 0.954 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.78, allocations: 83.27 kB / 0.954 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.7801, allocations: 133.2 kB / 0.9542 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.7806, allocations: 425.9 kB / 0.9546 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7806, allocations: 0 / 0.9546 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7806, allocations: 0 / 0.9546 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.7806, allocations: 3.938 kB / 0.9546 GB, free: 5.469 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.001171/0.7818, allocations: 0.8123 MB / 0.9554 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.7818, allocations: 8.562 kB / 0.9554 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.7819, allocations: 38.39 kB / 0.9554 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.7823, allocations: 317.7 kB / 0.9557 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.7824, allocations: 11.84 kB / 0.9557 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.7824, allocations: 24.5 kB / 0.9558 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.783, allocations: 289.6 kB / 0.956 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.7831, allocations: 0 / 0.956 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.7831, allocations: 6.812 kB / 0.956 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.7831, allocations: 3.719 kB / 0.956 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.7837, allocations: 274.4 kB / 0.9563 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.7846, allocations: 0.6784 MB / 0.957 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.7852, allocations: 228.1 kB / 0.9572 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.7856, allocations: 197.2 kB / 0.9574 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.7857, allocations: 1.375 kB / 0.9574 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.7857, allocations: 35.92 kB / 0.9574 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.7857, allocations: 1.375 kB / 0.9574 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001421/0.7871, allocations: 0.665 MB / 0.9581 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.7872, allocations: 141 kB / 0.9582 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.7877, allocations: 379.5 kB / 0.9586 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.7877, allocations: 29.17 kB / 0.9586 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.872e-05/0.7878, allocations: 175.7 kB / 0.9588 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.7879, allocations: 46.19 kB / 0.9588 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.7879, allocations: 47.08 kB / 0.9588 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.788, allocations: 343 kB / 0.9592 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.7885, allocations: 239.9 kB / 0.9594 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.7889, allocations: 236.3 kB / 0.9596 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008726/0.7898, allocations: 0.6772 MB / 0.9603 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7898, allocations: 0 / 0.9603 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00106/0.7909, allocations: 0.7388 MB / 0.961 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/0.7909, allocations: 183 kB / 0.9612 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.791, allocations: 0 / 0.9612 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.791, allocations: 1.281 kB / 0.9612 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.7912, allocations: 32 kB / 0.9612 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7912, allocations: 8 kB / 0.9612 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.7914, allocations: 40.88 kB / 0.9613 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.7914, allocations: 10.25 kB / 0.9613 GB, free: 492 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.0002019/0.7916, allocations: 260.3 kB / 0.9615 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.7917, allocations: 31.25 kB / 0.9615 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.7918, allocations: 27.94 kB / 0.9616 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7918, allocations: 1.562 kB / 0.9616 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7918, allocations: 4 kB / 0.9616 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7918, allocations: 1.125 kB / 0.9616 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.7922, allocations: 350.6 kB / 0.9619 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7922, allocations: 1.125 kB / 0.9619 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.7923, allocations: 30.97 kB / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.7923, allocations: 1.062 kB / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.7924, allocations: 7.531 kB / 0.962 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7924, allocations: 1.531 kB / 0.962 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7924, allocations: 0 / 0.962 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.7935, allocations: 0.6229 MB / 0.9626 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.7937, allocations: 109.4 kB / 0.9627 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.7937, allocations: 4.062 kB / 0.9627 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.7939, allocations: 36.58 kB / 0.9627 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.7941, allocations: 22.28 kB / 0.9627 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.7941, allocations: 12 kB / 0.9627 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003657/0.7945, allocations: 270.1 kB / 0.963 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7945, allocations: 0 / 0.963 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000524/0.795, allocations: 109.7 kB / 0.9631 GB, free: 15.08 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.0003563/0.7954, allocations: 164.2 kB / 0.9633 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.7968, allocations: 0.8298 MB / 0.9641 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7968, allocations: 0 / 0.9641 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005887/0.7974, allocations: 379.6 kB / 0.9644 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.7979, allocations: 67.77 kB / 0.9645 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.7993, allocations: 0.7601 MB / 0.9652 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.7998, allocations: 0.7851 MB / 0.966 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.7999, allocations: 16.78 kB / 0.966 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.7999, allocations: 3.938 kB / 0.966 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.007782/0.8077, allocations: 4.955 MB / 0.9709 GB, free: 10.23 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/jenkins1/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