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.00664/0.00664, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001368/0.001368, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.315/2.315, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7841, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004567/0.7887, allocations: 2.099 MB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.7911, allocations: 1.181 MB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.7913, allocations: 4 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.7918, allocations: 111.3 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.7919, allocations: 51.58 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.7928, allocations: 255.2 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.7933, allocations: 327.2 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.7935, allocations: 91.05 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.7936, allocations: 107.6 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.7938, allocations: 123.5 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.7939, allocations: 28 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.7943, allocations: 231.7 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.7944, allocations: 95.67 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.7945, allocations: 151.2 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.7952, allocations: 0.5608 MB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.7952, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7952, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.7952, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 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.00126/0.7965, allocations: 0.8011 MB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7965, allocations: 12.62 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.7966, allocations: 54.67 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.7967, allocations: 36.47 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.7971, allocations: 324.4 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.7971, allocations: 20.62 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.7972, allocations: 16.38 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.7977, allocations: 288.6 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7978, allocations: 7.984 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.7978, allocations: 8 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.7978, allocations: 4 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.7984, allocations: 268.3 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009713/0.7994, allocations: 0.6718 MB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.7999, allocations: 234.5 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.8003, allocations: 188.7 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8003, allocations: 4 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.8003, allocations: 30.56 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.8004, allocations: 0 / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.001269/0.8016, allocations: 0.6715 MB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.8017, allocations: 136.5 kB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.8021, allocations: 380.5 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.8022, allocations: 33.7 kB / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.8023, allocations: 168.3 kB / 1.176 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.8024, allocations: 43.33 kB / 1.176 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.8025, allocations: 49.7 kB / 1.176 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8026, allocations: 342.8 kB / 1.176 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.803, allocations: 239.8 kB / 1.176 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.8034, allocations: 246.3 kB / 1.177 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008769/0.8043, allocations: 0.6757 MB / 1.177 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8043, allocations: 0 / 1.177 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000998/0.8053, allocations: 0.7347 MB / 1.178 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.8055, allocations: 186.2 kB / 1.178 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.8055, allocations: 0 / 1.178 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8055, allocations: 0 / 1.178 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.8057, allocations: 31.97 kB / 1.178 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8057, allocations: 0 / 1.178 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.8059, allocations: 47.72 kB / 1.178 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.8059, allocations: 8 kB / 1.178 GB, free: 7.09 MB / 0.9044 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.0002345/0.8062, allocations: 266.8 kB / 1.178 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.8062, allocations: 23.72 kB / 1.178 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.8063, allocations: 30.94 kB / 1.178 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8063, allocations: 4 kB / 1.178 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.8063, allocations: 0 / 1.178 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8063, allocations: 0 / 1.178 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.8067, allocations: 353.2 kB / 1.179 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8067, allocations: 0 / 1.179 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.8068, allocations: 31.97 kB / 1.179 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.8068, allocations: 0 / 1.179 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.8069, allocations: 4 kB / 1.179 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.8069, allocations: 0 / 1.179 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8069, allocations: 0 / 1.179 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/0.8078, allocations: 0.6327 MB / 1.179 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.8078, allocations: 100.8 kB / 1.18 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.8079, allocations: 4 kB / 1.18 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.8081, allocations: 35.95 kB / 1.18 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.8082, allocations: 31.91 kB / 1.18 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.8082, allocations: 7.984 kB / 1.18 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002734/0.8085, allocations: 271 kB / 1.18 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8085, allocations: 0 / 1.18 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004023/0.8089, allocations: 111.8 kB / 1.18 GB, free: 5.07 MB / 0.9044 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.001371/0.8103, allocations: 1.218 MB / 1.181 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.8114, allocations: 0.8362 MB / 1.182 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8114, allocations: 0 / 1.182 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.8119, allocations: 382 kB / 1.182 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.8123, allocations: 75.83 kB / 1.182 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.8178, allocations: 4.431 MB / 1.187 GB, free: 13.87 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.8182, allocations: 0.783 MB / 1.188 GB, free: 13.06 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.882e-05/0.8183, allocations: 21.95 kB / 1.188 GB, free: 13.04 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.8184, allocations: 91.41 kB / 1.188 GB, free: 12.95 MB / 0.92 GB Notification: Performance of SimCode: time 3.21e-07/0.8184, allocations: 0 / 1.188 GB, free: 12.95 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.8461, allocations: 8.721 MB / 1.196 GB, free: 4.453 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.569, allocations: 6.75 kB / 1.196 GB, free: 4.449 MB / 0.92 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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