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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_10_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.005244/0.005244, allocations: 102 kB / 15.73 MB, free: 6.441 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.001518/0.001518, allocations: 192.9 kB / 16.67 MB, free: 6.352 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.58/2.58, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001837, allocations: 67.84 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2939, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003321/0.2973, allocations: 2.109 MB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.2991, allocations: 1.181 MB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.2992, allocations: 4 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.2996, allocations: 111.3 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.859e-05/0.2997, allocations: 47.59 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.3003, allocations: 263.3 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.3007, allocations: 319.3 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.3009, allocations: 107 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.301, allocations: 103.6 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3012, allocations: 123.5 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.3012, allocations: 28 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.3016, allocations: 227.7 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3017, allocations: 91.73 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.3019, allocations: 151.1 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.3025, allocations: 0.5566 MB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3025, allocations: 4 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3025, allocations: 0 / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3025, allocations: 0 / 1.171 GB, free: 1.871 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.00116/0.3037, allocations: 0.8122 MB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3037, allocations: 16.02 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.3038, allocations: 50.75 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.3039, allocations: 40.69 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.3043, allocations: 320.7 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3043, allocations: 12.66 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.3044, allocations: 16.38 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.305, allocations: 295 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.305, allocations: 0 / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.305, allocations: 12 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.305, allocations: 7.938 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.3057, allocations: 268.3 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.3067, allocations: 0.6759 MB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.3072, allocations: 226.6 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.3076, allocations: 188.7 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3077, allocations: 8 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3077, allocations: 34.55 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.3077, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.00138/0.3091, allocations: 0.6741 MB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/0.3092, allocations: 132.5 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.3096, allocations: 384.4 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3097, allocations: 33.7 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3098, allocations: 172.4 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.3098, allocations: 39.64 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/0.3099, allocations: 49.7 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3101, allocations: 342.8 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.3106, allocations: 235.8 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.311, allocations: 244.3 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/0.312, allocations: 0.6778 MB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.312, allocations: 3.938 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001125/0.3132, allocations: 0.7328 MB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.3133, allocations: 182.2 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3133, allocations: 0 / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3133, allocations: 0 / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3135, allocations: 31.97 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3135, allocations: 4 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.3137, allocations: 47.75 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.3138, allocations: 4 kB / 1.178 GB, free: 10.54 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.0002561/0.314, allocations: 266.8 kB / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.3141, allocations: 31.75 kB / 1.178 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.3141, allocations: 34.94 kB / 1.178 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3142, allocations: 0 / 1.178 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3142, allocations: 0 / 1.178 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3142, allocations: 7.984 kB / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.3146, allocations: 349.3 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3146, allocations: 0 / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.3147, allocations: 27.97 kB / 1.179 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3147, allocations: 0 / 1.179 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.3148, allocations: 8 kB / 1.179 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3148, allocations: 0 / 1.179 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3148, allocations: 0 / 1.179 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/0.3157, allocations: 0.6291 MB / 1.179 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/0.3158, allocations: 112.8 kB / 1.18 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.3159, allocations: 11.94 kB / 1.18 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3161, allocations: 31.95 kB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3162, allocations: 27.97 kB / 1.18 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3163, allocations: 11.94 kB / 1.18 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002919/0.3166, allocations: 271 kB / 1.18 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3166, allocations: 0 / 1.18 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004077/0.317, allocations: 103.9 kB / 1.18 GB, free: 8.504 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.001485/0.3185, allocations: 1.217 MB / 1.181 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.3197, allocations: 0.8388 MB / 1.182 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3197, allocations: 4 kB / 1.182 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.3202, allocations: 378 kB / 1.182 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.3207, allocations: 69.41 kB / 1.182 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006014/0.3267, allocations: 4.434 MB / 1.187 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.3272, allocations: 0.7831 MB / 1.188 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.3273, allocations: 33.92 kB / 1.188 GB, free: 476 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3274, allocations: 83.41 kB / 1.188 GB, free: 392 kB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.3274, allocations: 0 / 1.188 GB, free: 392 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.3579, allocations: 8.724 MB / 1.196 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.3, allocations: 4.281 kB / 1.196 GB, free: 7.883 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv","/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