Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006938/0.006938, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001575/0.001575, allocations: 195 kB / 16.67 MB, free: 5.977 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2704, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003023/0.2735, allocations: 2.099 MB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2752, allocations: 1.173 MB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.2753, allocations: 4 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.2757, allocations: 115.3 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.2759, allocations: 51.58 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.2766, allocations: 251.5 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.277, allocations: 323.2 kB / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.2772, allocations: 98.98 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2773, allocations: 111.6 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.2775, allocations: 127.5 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.2775, allocations: 32 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.2779, allocations: 223.7 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.278, allocations: 87.73 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.2782, allocations: 151.2 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005873/0.2788, allocations: 0.5566 MB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2788, allocations: 4 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.524e-06/0.2788, allocations: 4 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2788, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 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.001044/0.2798, allocations: 0.8122 MB / 1.173 GB, free: 480 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2799, allocations: 15.98 kB / 1.173 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.28, allocations: 36.7 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.2803, allocations: 320.7 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2804, allocations: 16.59 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.2804, allocations: 16.38 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.281, allocations: 295.2 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.281, allocations: 0 / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.281, allocations: 8 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2811, allocations: 11.88 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/0.2817, allocations: 272.4 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.2828, allocations: 0.668 MB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.2834, allocations: 230.6 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.2838, allocations: 200.7 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.2838, allocations: 3.984 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.2838, allocations: 34.56 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.2839, allocations: 0 / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.001333/0.2852, allocations: 0.6703 MB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.2853, allocations: 140.5 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.2857, allocations: 380.4 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.2858, allocations: 29.7 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2859, allocations: 168.4 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.286, allocations: 43.64 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.2861, allocations: 53.69 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002377/0.2863, allocations: 342.8 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.2867, allocations: 235.8 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.2872, allocations: 247.7 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.2881, allocations: 0.6775 MB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2881, allocations: 0 / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001039/0.2892, allocations: 0.7294 MB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.2894, allocations: 186.3 kB / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2894, allocations: 3.938 kB / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2894, allocations: 0 / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.2896, allocations: 31.91 kB / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2896, allocations: 0 / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.2899, allocations: 51.73 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.29, allocations: 12 kB / 1.179 GB, free: 10.07 MB / 0.9356 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.0002152/0.2902, allocations: 250.9 kB / 1.179 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.2903, allocations: 39.8 kB / 1.179 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.2903, allocations: 26.94 kB / 1.179 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2903, allocations: 4 kB / 1.179 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2903, allocations: 0 / 1.179 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2903, allocations: 0 / 1.179 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.2907, allocations: 353.3 kB / 1.179 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.2907, allocations: 4 kB / 1.179 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.2909, allocations: 27.97 kB / 1.179 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2909, allocations: 0 / 1.179 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.2909, allocations: 8 kB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2909, allocations: 3.938 kB / 1.179 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2909, allocations: 0 / 1.179 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.2919, allocations: 0.621 MB / 1.18 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.292, allocations: 120.8 kB / 1.18 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.2921, allocations: 8 kB / 1.18 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.2923, allocations: 23.97 kB / 1.18 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2924, allocations: 31.97 kB / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.2925, allocations: 4 kB / 1.18 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002705/0.2927, allocations: 275 kB / 1.18 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.593e-06/0.2927, allocations: 0 / 1.18 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000404/0.2931, allocations: 107.8 kB / 1.18 GB, free: 8.059 MB / 0.9356 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.0002775/0.2934, allocations: 159.1 kB / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.2946, allocations: 0.8359 MB / 1.181 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2946, allocations: 4 kB / 1.181 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.2951, allocations: 374.2 kB / 1.182 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.2956, allocations: 81.47 kB / 1.182 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2966, allocations: 0.6547 MB / 1.182 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.297, allocations: 0.7753 MB / 1.183 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.05e-05/0.2971, allocations: 29.89 kB / 1.183 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.2972, allocations: 23.42 kB / 1.183 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.2972, allocations: 4 kB / 1.183 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of Templates: time 0.01043/0.3076, allocations: 5.971 MB / 1.189 GB, free: 15.06 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches