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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001/0.001, allocations: 97.78 kB / 16.02 MB, free: 76 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.001138/0.001138, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 443.2 MB / 0.7181 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004958, allocations: 9.312 kB / 0.8801 GB, free: 42.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3226, allocations: 155.2 MB / 1.032 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002313/0.3249, allocations: 1.793 MB / 1.033 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.3268, allocations: 1.216 MB / 1.035 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.3269, allocations: 0 / 1.035 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.3273, allocations: 103.5 kB / 1.035 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3274, allocations: 35.72 kB / 1.035 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.328, allocations: 203.7 kB / 1.035 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.3283, allocations: 259.3 kB / 1.035 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3285, allocations: 99.25 kB / 1.035 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.3286, allocations: 75.64 kB / 1.035 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3288, allocations: 107.5 kB / 1.035 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.3288, allocations: 12 kB / 1.035 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.3291, allocations: 203.7 kB / 1.036 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.3292, allocations: 75.75 kB / 1.036 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3294, allocations: 148.9 kB / 1.036 GB, free: 372 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.3298, allocations: 415 kB / 1.036 GB, free: 15.96 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3298, allocations: 4 kB / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3298, allocations: 0 / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3298, allocations: 0 / 1.036 GB, free: 15.95 MB / 0.795 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.001042/0.3309, allocations: 0.7661 MB / 1.037 GB, free: 15.1 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3309, allocations: 11.98 kB / 1.037 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.331, allocations: 36.47 kB / 1.037 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.3314, allocations: 324.4 kB / 1.037 GB, free: 14.7 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3314, allocations: 12.66 kB / 1.037 GB, free: 14.69 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.3315, allocations: 16.38 kB / 1.037 GB, free: 14.68 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.3321, allocations: 315.2 kB / 1.038 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3321, allocations: 0 / 1.038 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.3321, allocations: 8 kB / 1.038 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3321, allocations: 8 kB / 1.038 GB, free: 14.35 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007008/0.3329, allocations: 304.3 kB / 1.038 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009732/0.3338, allocations: 0.6833 MB / 1.039 GB, free: 13.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.3344, allocations: 242.6 kB / 1.039 GB, free: 13.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.3349, allocations: 211.7 kB / 1.039 GB, free: 12.86 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3349, allocations: 0 / 1.039 GB, free: 12.86 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3349, allocations: 38.5 kB / 1.039 GB, free: 12.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.3349, allocations: 0 / 1.039 GB, free: 12.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.001412/0.3363, allocations: 0.7169 MB / 1.04 GB, free: 12.07 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.3364, allocations: 140.5 kB / 1.04 GB, free: 11.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.3368, allocations: 376.5 kB / 1.04 GB, free: 11.52 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3369, allocations: 29.7 kB / 1.04 GB, free: 11.49 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.337, allocations: 172.2 kB / 1.041 GB, free: 11.31 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.337, allocations: 43.45 kB / 1.041 GB, free: 11.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.3371, allocations: 25.72 kB / 1.041 GB, free: 11.24 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3372, allocations: 346.8 kB / 1.041 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.3377, allocations: 259.7 kB / 1.041 GB, free: 10.64 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.3381, allocations: 255.8 kB / 1.041 GB, free: 10.39 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/0.3391, allocations: 0.726 MB / 1.042 GB, free: 9.605 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3391, allocations: 0 / 1.042 GB, free: 9.605 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001113/0.3403, allocations: 0.7608 MB / 1.043 GB, free: 8.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.3404, allocations: 178.2 kB / 1.043 GB, free: 8.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3404, allocations: 0 / 1.043 GB, free: 8.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3404, allocations: 4 kB / 1.043 GB, free: 8.586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.3406, allocations: 35.97 kB / 1.043 GB, free: 8.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3406, allocations: 4 kB / 1.043 GB, free: 8.547 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.3409, allocations: 63.62 kB / 1.043 GB, free: 8.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.3409, allocations: 8 kB / 1.043 GB, free: 8.477 MB / 0.795 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.0002198/0.3411, allocations: 260.3 kB / 1.043 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.3412, allocations: 27.72 kB / 1.043 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.3412, allocations: 34.94 kB / 1.043 GB, free: 8.137 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3412, allocations: 7.984 kB / 1.043 GB, free: 8.129 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3413, allocations: 0 / 1.043 GB, free: 8.129 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3413, allocations: 0 / 1.043 GB, free: 8.129 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.3416, allocations: 345.3 kB / 1.044 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3416, allocations: 4 kB / 1.044 GB, free: 7.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.3418, allocations: 35.95 kB / 1.044 GB, free: 7.703 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3418, allocations: 8 kB / 1.044 GB, free: 7.695 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3418, allocations: 4 kB / 1.044 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3419, allocations: 0 / 1.044 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3419, allocations: 0 / 1.044 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3429, allocations: 0.6562 MB / 1.044 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.343, allocations: 112.7 kB / 1.045 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.343, allocations: 8 kB / 1.045 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3433, allocations: 31.97 kB / 1.045 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3434, allocations: 27.97 kB / 1.045 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3434, allocations: 11.98 kB / 1.045 GB, free: 6.793 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002906/0.3437, allocations: 279 kB / 1.045 GB, free: 6.52 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3437, allocations: 0 / 1.045 GB, free: 6.52 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004339/0.3442, allocations: 99.91 kB / 1.045 GB, free: 6.422 MB / 0.795 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.0003005/0.3445, allocations: 159.2 kB / 1.045 GB, free: 6.254 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.3458, allocations: 0.8633 MB / 1.046 GB, free: 5.316 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3458, allocations: 0 / 1.046 GB, free: 5.316 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006696/0.3464, allocations: 398 kB / 1.046 GB, free: 4.891 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.3472, allocations: 77.64 kB / 1.046 GB, free: 4.816 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.3489, allocations: 0.7784 MB / 1.047 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.3494, allocations: 0.7909 MB / 1.048 GB, free: 3.184 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.3495, allocations: 15.44 kB / 1.048 GB, free: 3.168 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.3495, allocations: 0 / 1.048 GB, free: 3.168 MB / 0.795 GB Notification: Performance of Templates: time 0.008188/0.3577, allocations: 4.907 MB / 1.053 GB, free: 14.3 MB / 0.8106 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=480 -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