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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001632/0.001632, allocations: 116.8 kB / 16.37 MB, free: 6 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.001905/0.001905, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.41 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2882, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003398/0.2917, allocations: 2.11 MB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2934, allocations: 1.177 MB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.2935, allocations: 4 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.2939, allocations: 111.4 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.339e-05/0.294, allocations: 51.52 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000679/0.2947, allocations: 252.8 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.295, allocations: 315.3 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.2952, allocations: 94.97 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.2954, allocations: 115.6 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.2955, allocations: 131.4 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.2956, allocations: 28 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.2959, allocations: 227.7 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.296, allocations: 83.73 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2962, allocations: 151.2 kB / 1.024 GB, free: 5.02 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.2967, allocations: 0.5569 MB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2967, allocations: 0 / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2967, allocations: 0 / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2967, allocations: 0 / 1.024 GB, free: 4.461 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.001074/0.2978, allocations: 0.8127 MB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2978, allocations: 12.88 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.2979, allocations: 32.56 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.2983, allocations: 320.4 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2983, allocations: 12.66 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.2983, allocations: 24.31 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.2991, allocations: 296.7 kB / 1.026 GB, free: 2.84 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2991, allocations: 4 kB / 1.026 GB, free: 2.836 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.2991, allocations: 4 kB / 1.026 GB, free: 2.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2992, allocations: 4 kB / 1.026 GB, free: 2.828 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009299/0.3001, allocations: 272.4 kB / 1.026 GB, free: 2.562 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.3013, allocations: 0.6792 MB / 1.026 GB, free: 1.832 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.3019, allocations: 230.6 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.3022, allocations: 188.7 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3023, allocations: 4 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3023, allocations: 38.5 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/0.3023, allocations: 0 / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.001291/0.3036, allocations: 0.6729 MB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.3037, allocations: 132.5 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.3042, allocations: 380.5 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.3043, allocations: 33.7 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.3045, allocations: 168.3 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.3045, allocations: 43.36 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.3046, allocations: 45.7 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3048, allocations: 342.8 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.3052, allocations: 243.7 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.3056, allocations: 238.2 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3067, allocations: 0.6913 MB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3067, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001282/0.308, allocations: 0.7242 MB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.3082, allocations: 182.2 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3082, allocations: 3.984 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3082, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3084, allocations: 27.97 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3084, allocations: 4 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.3086, allocations: 43.66 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.3087, allocations: 12.11 kB / 1.031 GB, free: 13.19 MB / 0.8106 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.0003343/0.309, allocations: 266.7 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.3091, allocations: 31.62 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.3091, allocations: 30.94 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3091, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3092, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3092, allocations: 4 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.3096, allocations: 341.3 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3096, allocations: 0 / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.3098, allocations: 35.97 kB / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3098, allocations: 0 / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.3099, allocations: 11.94 kB / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3099, allocations: 0 / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.3099, allocations: 4 kB / 1.031 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3109, allocations: 0.6171 MB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.311, allocations: 112.7 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.3111, allocations: 8 kB / 1.032 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3113, allocations: 23.97 kB / 1.032 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3115, allocations: 27.97 kB / 1.032 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.3115, allocations: 11.98 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003271/0.3118, allocations: 275 kB / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3118, allocations: 4 kB / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004657/0.3123, allocations: 99.91 kB / 1.033 GB, free: 11.18 MB / 0.8106 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.0003973/0.3127, allocations: 159.2 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.314, allocations: 0.8398 MB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3141, allocations: 0 / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00054/0.3146, allocations: 378 kB / 1.034 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.3151, allocations: 81.39 kB / 1.034 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3164, allocations: 0.6359 MB / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3168, allocations: 0.787 MB / 1.035 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.065e-05/0.3169, allocations: 17.95 kB / 1.035 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.3169, allocations: 23.44 kB / 1.035 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.317, allocations: 0 / 1.035 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of Templates: time 0.01234/0.3293, allocations: 5.96 MB / 1.041 GB, free: 2.211 MB / 0.8106 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 -s cvode -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/jenkins1/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