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.001399/0.001399, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001797/0.001797, allocations: 192 kB / 16.25 MB, free: 6.637 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.324/2.324, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002573, allocations: 67.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.6634, allocations: 140.3 MB / 0.9491 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002862/0.6662, allocations: 2.159 MB / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.6677, allocations: 1.157 MB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.6678, allocations: 2.812 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.6681, allocations: 93.27 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.6683, allocations: 42.77 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.6689, allocations: 226.7 kB / 0.9527 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.6692, allocations: 325.8 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.6693, allocations: 105.2 kB / 0.9531 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.6694, allocations: 104 kB / 0.9532 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.6696, allocations: 129.6 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.6696, allocations: 29.16 kB / 0.9534 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.6699, allocations: 220.8 kB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.67, allocations: 91.75 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.6701, allocations: 154.2 kB / 0.9538 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.6706, allocations: 0.5524 MB / 0.9543 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6706, allocations: 0 / 0.9543 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6706, allocations: 1.438 kB / 0.9543 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.6706, allocations: 4 kB / 0.9543 GB, free: 5.367 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.0008994/0.6715, allocations: 0.8037 MB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.6716, allocations: 9.531 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.6716, allocations: 33.75 kB / 0.9552 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.6719, allocations: 324.9 kB / 0.9555 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.672, allocations: 16.66 kB / 0.9555 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.672, allocations: 20.31 kB / 0.9555 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.6725, allocations: 289.8 kB / 0.9558 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6726, allocations: 0 / 0.9558 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.6726, allocations: 11.38 kB / 0.9558 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6726, allocations: 3.156 kB / 0.9558 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/0.6732, allocations: 273.9 kB / 0.9561 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.674, allocations: 0.675 MB / 0.9567 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.6744, allocations: 239.5 kB / 0.957 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.6748, allocations: 189.8 kB / 0.9571 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.6748, allocations: 1.375 kB / 0.9571 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.6748, allocations: 31.94 kB / 0.9572 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.6749, allocations: 0 / 0.9572 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001238/0.6761, allocations: 0.6706 MB / 0.9578 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.6762, allocations: 133 kB / 0.9579 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.6765, allocations: 383.6 kB / 0.9583 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.6765, allocations: 36.17 kB / 0.9583 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.6766, allocations: 164.1 kB / 0.9585 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.6767, allocations: 46.72 kB / 0.9585 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.6768, allocations: 46.52 kB / 0.9586 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.6768, allocations: 347.5 kB / 0.9589 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.6772, allocations: 231.9 kB / 0.9591 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.6777, allocations: 248.7 kB / 0.9594 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007987/0.6785, allocations: 0.6753 MB / 0.96 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6785, allocations: 1.312 kB / 0.96 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009512/0.6794, allocations: 0.7337 MB / 0.9608 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.6795, allocations: 179.9 kB / 0.9609 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6795, allocations: 1.094 kB / 0.9609 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6795, allocations: 1.312 kB / 0.9609 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.6797, allocations: 35.78 kB / 0.961 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.6797, allocations: 0 / 0.961 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.6799, allocations: 41.09 kB / 0.961 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.68, allocations: 10.38 kB / 0.961 GB, free: 396 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.0001582/0.6801, allocations: 255.5 kB / 0.9613 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.6802, allocations: 31.19 kB / 0.9613 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.6802, allocations: 31.81 kB / 0.9613 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6802, allocations: 10.53 kB / 0.9613 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6803, allocations: 0 / 0.9613 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6803, allocations: 0 / 0.9613 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.6806, allocations: 351.3 kB / 0.9617 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6806, allocations: 1.531 kB / 0.9617 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.6808, allocations: 26.31 kB / 0.9617 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6808, allocations: 1.375 kB / 0.9617 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.6808, allocations: 7.875 kB / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6808, allocations: 1.25 kB / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6808, allocations: 4 kB / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009355/0.6818, allocations: 0.6243 MB / 0.9623 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.6819, allocations: 105.3 kB / 0.9624 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.6819, allocations: 16.55 kB / 0.9624 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.6822, allocations: 28.12 kB / 0.9625 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6823, allocations: 29.19 kB / 0.9625 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.6823, allocations: 13 kB / 0.9625 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002993/0.6826, allocations: 270.9 kB / 0.9628 GB, free: 15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6826, allocations: 0 / 0.9628 GB, free: 15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004407/0.6831, allocations: 108.6 kB / 0.9629 GB, free: 14.98 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.0002971/0.6834, allocations: 161.7 kB / 0.963 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.6845, allocations: 0.8413 MB / 0.9638 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6845, allocations: 0 / 0.9638 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.685, allocations: 375.5 kB / 0.9642 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.6855, allocations: 64.2 kB / 0.9643 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.6865, allocations: 0.7234 MB / 0.965 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.6869, allocations: 0.7924 MB / 0.9657 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.176e-05/0.687, allocations: 23.36 kB / 0.9658 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.6871, allocations: 18.84 kB / 0.9658 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.6871, allocations: 0 / 0.9658 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.0106/0.6977, allocations: 5.667 MB / 0.9713 GB, free: 9.902 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