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.007135/0.007136, allocations: 99.3 kB / 15.73 MB, free: 5.602 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.001605/0.001605, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.237/2.237, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.7491, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003008/0.7521, allocations: 2.1 MB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.7539, allocations: 1.167 MB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.7541, allocations: 3.312 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.7545, allocations: 116.4 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.7546, allocations: 54.62 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.7554, allocations: 249.3 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.7558, allocations: 315.6 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.756, allocations: 107.8 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.7561, allocations: 107.9 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.7562, allocations: 124.5 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.7563, allocations: 29.78 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.7567, allocations: 228.5 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.7569, allocations: 89.91 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.757, allocations: 149.6 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007523/0.7578, allocations: 0.5699 MB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7578, allocations: 0 / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7578, allocations: 0.7188 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.7578, allocations: 0 / 1.093 GB, free: 2.312 MB / 0.8575 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.001076/0.7589, allocations: 0.8199 MB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.7589, allocations: 9.406 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.759, allocations: 36.95 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.7594, allocations: 325.9 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.7594, allocations: 12.53 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.7595, allocations: 24.81 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.7601, allocations: 288.4 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.7601, allocations: 0.7812 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.7602, allocations: 6.625 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.7602, allocations: 3.5 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.7609, allocations: 273.5 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.7619, allocations: 0.6796 MB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.7625, allocations: 234.3 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.763, allocations: 189 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.763, allocations: 5.969 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.763, allocations: 32.64 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.763, allocations: 0 / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001443/0.7645, allocations: 0.6674 MB / 1.097 GB, free: 156 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.7646, allocations: 139.3 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.765, allocations: 380.5 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.7651, allocations: 28.05 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.7652, allocations: 167.3 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.7653, allocations: 45.11 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/0.7654, allocations: 50.97 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7655, allocations: 348.2 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.766, allocations: 238.5 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.7665, allocations: 239.2 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.7675, allocations: 0.682 MB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7675, allocations: 4 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00125/0.7688, allocations: 0.7332 MB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.7689, allocations: 189.1 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7689, allocations: 0 / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7689, allocations: 1.016 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.7691, allocations: 35.53 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7692, allocations: 0.75 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.7694, allocations: 46.62 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.7695, allocations: 10.53 kB / 1.1 GB, free: 14.07 MB / 0.8731 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.0002573/0.7697, allocations: 259.2 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.7698, allocations: 35.16 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.7699, allocations: 28.27 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.7699, allocations: 0.9375 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7699, allocations: 1.094 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.7699, allocations: 0.7969 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.7703, allocations: 349.9 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7703, allocations: 1.188 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.7705, allocations: 39.59 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7705, allocations: 0.5 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.7706, allocations: 4.297 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7706, allocations: 1 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7706, allocations: 1.125 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.7716, allocations: 0.6195 MB / 1.101 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.7718, allocations: 109.3 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.7718, allocations: 4.438 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.772, allocations: 29.66 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.7722, allocations: 25.48 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.7722, allocations: 4.781 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004282/0.7726, allocations: 280 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7726, allocations: 0 / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006238/0.7733, allocations: 111.5 kB / 1.102 GB, free: 12.88 MB / 0.8731 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.00035/0.7736, allocations: 167.6 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.7749, allocations: 0.8294 MB / 1.103 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7749, allocations: 1.469 kB / 1.103 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.7754, allocations: 378.2 kB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.7759, allocations: 78.75 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.7771, allocations: 0.6421 MB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.7774, allocations: 0.7878 MB / 1.105 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.769e-05/0.7776, allocations: 20.48 kB / 1.105 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.7776, allocations: 18.22 kB / 1.105 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of SimCode: time 7.32e-07/0.7776, allocations: 7.938 kB / 1.105 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.01289/0.7905, allocations: 5.974 MB / 1.11 GB, free: 10.47 MB / 0.8731 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