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: "" <> 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.008183/0.008188, allocations: 97.62 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.002256/0.002256, allocations: 197.6 kB / 16.68 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.005/3.005, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2832, allocations: 162.2 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003287/0.2866, allocations: 2.111 MB / 1.244 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2883, allocations: 1.161 MB / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.2884, allocations: 4 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.2888, allocations: 115.4 kB / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2889, allocations: 47.56 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.2896, allocations: 263.4 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.29, allocations: 315.2 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.2902, allocations: 95.03 kB / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2903, allocations: 103.7 kB / 1.246 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.2905, allocations: 131.5 kB / 1.246 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.2905, allocations: 32 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.2909, allocations: 235.6 kB / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.291, allocations: 83.75 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.2912, allocations: 155.2 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.2918, allocations: 0.5527 MB / 1.247 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2918, allocations: 4 kB / 1.247 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2918, allocations: 0 / 1.247 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2919, allocations: 0 / 1.247 GB, free: 4.773 MB / 0.9981 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.001185/0.293, allocations: 0.8222 MB / 1.248 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2931, allocations: 8.031 kB / 1.248 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.521e-05/0.2932, allocations: 50.73 kB / 1.248 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.2932, allocations: 36.7 kB / 1.248 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.2936, allocations: 324.6 kB / 1.248 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.2937, allocations: 12.66 kB / 1.248 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.2937, allocations: 16.38 kB / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.2944, allocations: 299 kB / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2944, allocations: 0 / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.2944, allocations: 8 kB / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2945, allocations: 7.875 kB / 1.248 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.2952, allocations: 276.4 kB / 1.249 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009875/0.2962, allocations: 0.6609 MB / 1.249 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.2968, allocations: 230.6 kB / 1.249 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/0.2972, allocations: 192.7 kB / 1.25 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2973, allocations: 0 / 1.25 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2973, allocations: 34.56 kB / 1.25 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.2973, allocations: 0 / 1.25 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.001493/0.2988, allocations: 0.6735 MB / 1.25 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.2989, allocations: 148.5 kB / 1.25 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.2993, allocations: 380.5 kB / 1.251 GB, free: 376 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.2994, allocations: 25.7 kB / 1.251 GB, free: 344 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2995, allocations: 164.4 kB / 1.251 GB, free: 176 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.2996, allocations: 47.58 kB / 1.251 GB, free: 128 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/0.2997, allocations: 45.7 kB / 1.251 GB, free: 76 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.5048/0.8045, allocations: 345.6 kB / 1.251 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/0.8051, allocations: 234.6 kB / 1.252 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.8056, allocations: 239.3 kB / 1.252 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009249/0.8065, allocations: 0.6794 MB / 1.252 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8065, allocations: 1.719 kB / 1.252 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001127/0.8076, allocations: 0.7274 MB / 1.253 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.133e-05/0.8077, allocations: 183.1 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8077, allocations: 2.812 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8078, allocations: 2.031 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.808, allocations: 34.5 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.808, allocations: 4.688 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.8082, allocations: 45.94 kB / 1.253 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.8082, allocations: 11.16 kB / 1.253 GB, free: 14.17 MB / 0.9981 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.0001771/0.8084, allocations: 253 kB / 1.254 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.8085, allocations: 32.55 kB / 1.254 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.8086, allocations: 29.94 kB / 1.254 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.8086, allocations: 5.406 kB / 1.254 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8086, allocations: 3.938 kB / 1.254 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8086, allocations: 1.719 kB / 1.254 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.8089, allocations: 353.4 kB / 1.254 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8089, allocations: 0 / 1.254 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.8091, allocations: 28.86 kB / 1.254 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8091, allocations: 0.875 kB / 1.254 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.8091, allocations: 3.281 kB / 1.254 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.8091, allocations: 7.172 kB / 1.254 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8091, allocations: 4.75 kB / 1.254 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009685/0.8101, allocations: 0.6151 MB / 1.255 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.8102, allocations: 116 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.8102, allocations: 9.438 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.8105, allocations: 26.39 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.8106, allocations: 36.77 kB / 1.255 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.8106, allocations: 4.625 kB / 1.255 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002636/0.8109, allocations: 272.1 kB / 1.255 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8109, allocations: 0 / 1.255 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004199/0.8113, allocations: 105.1 kB / 1.255 GB, free: 13.23 MB / 0.9981 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.001276/0.8126, allocations: 1.224 MB / 1.256 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.8137, allocations: 0.8328 MB / 1.257 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8137, allocations: 0 / 1.257 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.8142, allocations: 378.5 kB / 1.258 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.8147, allocations: 77.88 kB / 1.258 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/0.8201, allocations: 4.431 MB / 1.262 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.8203, allocations: 0.7894 MB / 1.263 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.525e-05/0.8204, allocations: 23.47 kB / 1.263 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.8205, allocations: 91.16 kB / 1.263 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.8205, allocations: 0 / 1.263 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.8509, allocations: 8.721 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/9.125, allocations: 21.33 kB / 1.271 GB, free: 7.68 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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