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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006816/0.006816, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001699/0.001699, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 71.83 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2812, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003489/0.2847, allocations: 2.11 MB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.2869, allocations: 1.168 MB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.2871, allocations: 8 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.2875, allocations: 107.4 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.2877, allocations: 55.5 kB / 1.211 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007602/0.2885, allocations: 254 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004126/0.2889, allocations: 327.2 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.2891, allocations: 94.98 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2892, allocations: 107.7 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.2894, allocations: 131.4 kB / 1.212 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.2895, allocations: 28 kB / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.2899, allocations: 235.7 kB / 1.212 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.29, allocations: 87.75 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.2902, allocations: 151.2 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007145/0.2909, allocations: 0.5491 MB / 1.213 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.291, allocations: 0 / 1.213 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.291, allocations: 0 / 1.213 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.291, allocations: 0 / 1.213 GB, free: 4.738 MB / 0.9669 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.00127/0.2923, allocations: 0.8126 MB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2923, allocations: 12.62 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.64e-05/0.2924, allocations: 46.73 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.2925, allocations: 32.56 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.2929, allocations: 324.4 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2929, allocations: 12.66 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.2929, allocations: 24.38 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.2935, allocations: 295 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2935, allocations: 0 / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.2936, allocations: 8 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2936, allocations: 4 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006079/0.2942, allocations: 268.4 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/0.2952, allocations: 0.6646 MB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.2957, allocations: 226.6 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.2961, allocations: 188.7 kB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.2961, allocations: 4 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2961, allocations: 38.56 kB / 1.215 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.2962, allocations: 3.938 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.001274/0.2974, allocations: 0.6702 MB / 1.216 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.2975, allocations: 140.5 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.298, allocations: 384.4 kB / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.298, allocations: 33.7 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.2981, allocations: 164.2 kB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.2982, allocations: 39.45 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.2983, allocations: 45.7 kB / 1.217 GB, free: 56 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2985, allocations: 354.7 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.2989, allocations: 231.9 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.2993, allocations: 242.3 kB / 1.218 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/0.3002, allocations: 0.686 MB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3002, allocations: 0 / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009799/0.3012, allocations: 0.7218 MB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.3013, allocations: 186.2 kB / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3013, allocations: 0 / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3013, allocations: 0 / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.3015, allocations: 27.97 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3015, allocations: 4 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3017, allocations: 55.64 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.3017, allocations: 4 kB / 1.219 GB, free: 13.42 MB / 0.9825 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.0002106/0.302, allocations: 266.8 kB / 1.22 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.302, allocations: 27.72 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.3021, allocations: 30.94 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3021, allocations: 0 / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3021, allocations: 0 / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3021, allocations: 3.984 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.3024, allocations: 349.2 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3025, allocations: 0 / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3026, allocations: 31.97 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3026, allocations: 0 / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.3027, allocations: 11.92 kB / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3027, allocations: 0 / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3027, allocations: 0 / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.3035, allocations: 0.625 MB / 1.221 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.3036, allocations: 116.6 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3037, allocations: 8 kB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.3039, allocations: 23.97 kB / 1.221 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.304, allocations: 27.97 kB / 1.221 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3041, allocations: 4 kB / 1.221 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002807/0.3044, allocations: 279 kB / 1.221 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3044, allocations: 0 / 1.221 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004039/0.3048, allocations: 104 kB / 1.221 GB, free: 11.41 MB / 0.9825 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.001384/0.3062, allocations: 1.213 MB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.3072, allocations: 0.8399 MB / 1.223 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3073, allocations: 3.938 kB / 1.223 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.3077, allocations: 382 kB / 1.223 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.3082, allocations: 71.45 kB / 1.224 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/0.3139, allocations: 4.438 MB / 1.228 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.3143, allocations: 0.7831 MB / 1.229 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.3144, allocations: 21.94 kB / 1.229 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.3145, allocations: 91.41 kB / 1.229 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of SimCode: time 7.32e-07/0.3146, allocations: 0 / 1.229 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.3426, allocations: 8.891 MB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.054, allocations: 10.42 kB / 1.237 GB, free: 10.63 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > 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