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.007481/0.007481, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.00216/0.00216, allocations: 194.4 kB / 16.67 MB, free: 6.391 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.221/1.221, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.47/2.47, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 76.09 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2571, allocations: 162.3 MB / 1.242 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002932/0.26, allocations: 2.117 MB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.2617, allocations: 1.168 MB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.2618, allocations: 0 / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.2621, allocations: 115.4 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.654e-05/0.2622, allocations: 47.58 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.2629, allocations: 259.4 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.2632, allocations: 315.2 kB / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.2634, allocations: 95.03 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2635, allocations: 99.69 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.2637, allocations: 131.4 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.2637, allocations: 36 kB / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.264, allocations: 227.7 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.2641, allocations: 91.73 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.2643, allocations: 155.1 kB / 1.247 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.2648, allocations: 0.5566 MB / 1.247 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2648, allocations: 0 / 1.247 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2649, allocations: 0 / 1.247 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.954e-06/0.2649, allocations: 0 / 1.247 GB, free: 4.441 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.001001/0.2659, allocations: 0.82 MB / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2659, allocations: 12.02 kB / 1.248 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.906e-05/0.266, allocations: 46.75 kB / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.266, allocations: 44.69 kB / 1.248 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.2664, allocations: 312.6 kB / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2664, allocations: 20.66 kB / 1.248 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.2664, allocations: 16.38 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.267, allocations: 299.7 kB / 1.249 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.267, allocations: 3.938 kB / 1.249 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.267, allocations: 8 kB / 1.249 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.267, allocations: 4 kB / 1.249 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.2676, allocations: 272.3 kB / 1.249 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.2685, allocations: 0.6687 MB / 1.25 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.269, allocations: 234.6 kB / 1.25 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.2693, allocations: 188.7 kB / 1.25 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.2694, allocations: 0 / 1.25 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2694, allocations: 46.55 kB / 1.25 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.2694, allocations: 0 / 1.25 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.001226/0.2706, allocations: 0.6663 MB / 1.251 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.2707, allocations: 140.5 kB / 1.251 GB, free: 412 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.2711, allocations: 376.5 kB / 1.251 GB, free: 32 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.4065/0.6776, allocations: 26.28 kB / 1.251 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.6777, allocations: 170.4 kB / 1.251 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.6778, allocations: 41.48 kB / 1.251 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.6779, allocations: 50.41 kB / 1.251 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.678, allocations: 342.7 kB / 1.252 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.6784, allocations: 238 kB / 1.252 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.6788, allocations: 237.8 kB / 1.252 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/0.6796, allocations: 0.679 MB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6796, allocations: 0 / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009682/0.6806, allocations: 0.7345 MB / 1.254 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.6807, allocations: 183.5 kB / 1.254 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6807, allocations: 2.234 kB / 1.254 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6807, allocations: 1.25 kB / 1.254 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.6808, allocations: 31.94 kB / 1.254 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.6809, allocations: 2.281 kB / 1.254 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.6811, allocations: 44.03 kB / 1.254 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.6811, allocations: 11.88 kB / 1.254 GB, free: 13.86 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.000151/0.6813, allocations: 256.1 kB / 1.254 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.6813, allocations: 31.22 kB / 1.254 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.6814, allocations: 35.23 kB / 1.254 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6814, allocations: 5.375 kB / 1.254 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6814, allocations: 0 / 1.254 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6814, allocations: 1.438 kB / 1.254 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.6817, allocations: 351.2 kB / 1.255 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6817, allocations: 0 / 1.255 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.6818, allocations: 31.84 kB / 1.255 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6818, allocations: 0.625 kB / 1.255 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.6819, allocations: 12.62 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6819, allocations: 5.25 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6819, allocations: 2.188 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.6827, allocations: 0.6124 MB / 1.255 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.6827, allocations: 110.2 kB / 1.255 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.6828, allocations: 9.797 kB / 1.255 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.683, allocations: 30.08 kB / 1.255 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6831, allocations: 29.69 kB / 1.255 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.6831, allocations: 10.16 kB / 1.255 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002403/0.6834, allocations: 272.1 kB / 1.256 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6834, allocations: 0 / 1.256 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003754/0.6838, allocations: 108 kB / 1.256 GB, free: 12.77 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.001123/0.6849, allocations: 1.222 MB / 1.257 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009392/0.6858, allocations: 0.8369 MB / 1.258 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6859, allocations: 0 / 1.258 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.6863, allocations: 378.9 kB / 1.258 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.6867, allocations: 76.3 kB / 1.258 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.6914, allocations: 4.425 MB / 1.262 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.6916, allocations: 0.7883 MB / 1.263 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.17e-05/0.6916, allocations: 22.2 kB / 1.263 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.6917, allocations: 86.31 kB / 1.263 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.6917, allocations: 0 / 1.263 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.024/7.715, allocations: 8.742 MB / 1.272 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/18.43, allocations: 11.38 kB / 1.272 GB, free: 7.23 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=400 --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