Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00169/0.00169, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001693/0.001693, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001942, allocations: 68.52 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8129, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003358/0.8163, allocations: 2.092 MB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.8185, allocations: 1.18 MB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.8186, allocations: 2.656 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.8191, allocations: 112.3 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.8192, allocations: 45.7 kB / 1.086 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.8201, allocations: 264.1 kB / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.8205, allocations: 322.9 kB / 1.087 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.8207, allocations: 97.34 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.8209, allocations: 100.1 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.8211, allocations: 128.5 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.8211, allocations: 29.78 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.8215, allocations: 227 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.8217, allocations: 93.25 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.8218, allocations: 154.6 kB / 1.088 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007416/0.8226, allocations: 0.5458 MB / 1.088 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8226, allocations: 0 / 1.088 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8226, allocations: 0 / 1.088 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.8226, allocations: 0 / 1.088 GB, free: 14.45 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.001332/0.824, allocations: 0.8004 MB / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.824, allocations: 10.89 kB / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.8241, allocations: 36.81 kB / 1.089 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.8245, allocations: 325.4 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.8246, allocations: 11.97 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.8246, allocations: 16.91 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.8253, allocations: 293.5 kB / 1.09 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.8253, allocations: 4 kB / 1.09 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.8253, allocations: 7.125 kB / 1.09 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.8253, allocations: 4.25 kB / 1.09 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.8261, allocations: 272.9 kB / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.8272, allocations: 0.67 MB / 1.091 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.8278, allocations: 230.8 kB / 1.091 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.8283, allocations: 188.8 kB / 1.091 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.8283, allocations: 10.3 kB / 1.091 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.8284, allocations: 31.81 kB / 1.091 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.8284, allocations: 0 / 1.091 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.001464/0.8298, allocations: 0.679 MB / 1.092 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/0.8299, allocations: 140.6 kB / 1.092 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.8304, allocations: 375.5 kB / 1.092 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.8304, allocations: 27.98 kB / 1.092 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.8306, allocations: 166.7 kB / 1.092 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.8306, allocations: 45.28 kB / 1.092 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.8307, allocations: 52 kB / 1.092 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.8309, allocations: 347.9 kB / 1.093 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.8314, allocations: 237.9 kB / 1.093 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.8319, allocations: 235.1 kB / 1.093 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.833, allocations: 0.68 MB / 1.094 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.833, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001256/0.8343, allocations: 0.7402 MB / 1.095 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.8344, allocations: 184.6 kB / 1.095 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8344, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.8345, allocations: 5.719 kB / 1.095 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.8346, allocations: 27.41 kB / 1.095 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.8347, allocations: 0.875 kB / 1.095 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.8349, allocations: 41.64 kB / 1.095 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.8349, allocations: 7.734 kB / 1.095 GB, free: 10.25 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.0002514/0.8352, allocations: 266.5 kB / 1.095 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.8353, allocations: 31.33 kB / 1.095 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.8353, allocations: 27.11 kB / 1.095 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.8353, allocations: 1.969 kB / 1.095 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8354, allocations: 1.156 kB / 1.095 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.8354, allocations: 0.5625 kB / 1.095 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.8358, allocations: 354.3 kB / 1.095 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8358, allocations: 0 / 1.095 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.836, allocations: 32.16 kB / 1.096 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.836, allocations: 1.156 kB / 1.096 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.836, allocations: 8.297 kB / 1.096 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.836, allocations: 1.25 kB / 1.096 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8361, allocations: 4.734 kB / 1.096 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.8371, allocations: 0.6245 MB / 1.096 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.8372, allocations: 107.7 kB / 1.096 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.8373, allocations: 3.938 kB / 1.096 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.8375, allocations: 29.59 kB / 1.096 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.8376, allocations: 25.84 kB / 1.096 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.8376, allocations: 5.75 kB / 1.096 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003105/0.838, allocations: 275 kB / 1.097 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.838, allocations: 1.438 kB / 1.097 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000519/0.8385, allocations: 107.2 kB / 1.097 GB, free: 9.043 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.0003207/0.8388, allocations: 157.8 kB / 1.097 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.8401, allocations: 0.8435 MB / 1.098 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8401, allocations: 1.062 kB / 1.098 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.8407, allocations: 378.4 kB / 1.098 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.8412, allocations: 80.14 kB / 1.098 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.8424, allocations: 0.6972 MB / 1.099 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.8428, allocations: 0.7866 MB / 1.1 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.8429, allocations: 19.59 kB / 1.1 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.8429, allocations: 0 / 1.1 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of Templates: time 0.01009/0.853, allocations: 4.952 MB / 1.104 GB, free: 6.523 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches