Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_9_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.001557/0.001557, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 71.83 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.509, allocations: 140.4 MB / 0.9497 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002682/0.5117, allocations: 2.09 MB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.513, allocations: 1.172 MB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.5131, allocations: 4.5 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.5135, allocations: 112.5 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.5136, allocations: 46.09 kB / 0.9531 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.5141, allocations: 266.6 kB / 0.9533 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.5144, allocations: 307.7 kB / 0.9536 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.5146, allocations: 102.7 kB / 0.9537 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.5147, allocations: 113.3 kB / 0.9538 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.5148, allocations: 123 kB / 0.9539 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.5148, allocations: 30.22 kB / 0.954 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.5151, allocations: 232.7 kB / 0.9542 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.5152, allocations: 87.28 kB / 0.9543 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.5153, allocations: 156.8 kB / 0.9544 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.5158, allocations: 0.5418 MB / 0.955 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5158, allocations: 4 kB / 0.955 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5158, allocations: 1.438 kB / 0.955 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5158, allocations: 0 / 0.955 GB, free: 5.172 MB / 0.7169 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.0008892/0.5167, allocations: 0.7994 MB / 0.9557 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.5167, allocations: 10.25 kB / 0.9557 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.5168, allocations: 52.86 kB / 0.9558 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.5168, allocations: 37.38 kB / 0.9558 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.5171, allocations: 328.5 kB / 0.9561 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.5171, allocations: 14.5 kB / 0.9562 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.5172, allocations: 22.16 kB / 0.9562 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.5177, allocations: 291.4 kB / 0.9565 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5177, allocations: 0 / 0.9565 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.5177, allocations: 7.25 kB / 0.9565 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5178, allocations: 6.938 kB / 0.9565 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.5184, allocations: 266.1 kB / 0.9567 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007545/0.5191, allocations: 0.679 MB / 0.9574 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.5196, allocations: 227.9 kB / 0.9576 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.52, allocations: 189.8 kB / 0.9578 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.52, allocations: 1.531 kB / 0.9578 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.52, allocations: 44.03 kB / 0.9578 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.52, allocations: 0 / 0.9578 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001224/0.5213, allocations: 0.6623 MB / 0.9585 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.5213, allocations: 140.8 kB / 0.9586 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.5216, allocations: 380.3 kB / 0.959 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.5217, allocations: 31.55 kB / 0.959 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.5217, allocations: 160.1 kB / 0.9592 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.5218, allocations: 46.95 kB / 0.9592 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.5219, allocations: 50.78 kB / 0.9593 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.5219, allocations: 351.2 kB / 0.9596 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.5223, allocations: 235.8 kB / 0.9598 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.5228, allocations: 245.9 kB / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007936/0.5236, allocations: 0.6791 MB / 0.9607 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5236, allocations: 0 / 0.9607 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009024/0.5245, allocations: 0.7267 MB / 0.9614 GB, free: 392 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.5246, allocations: 180.7 kB / 0.9616 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5246, allocations: 9.094 kB / 0.9616 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5246, allocations: 0 / 0.9616 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.5248, allocations: 32.34 kB / 0.9616 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5248, allocations: 1.188 kB / 0.9616 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.525, allocations: 48.05 kB / 0.9617 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.525, allocations: 14.56 kB / 0.9617 GB, free: 132 kB / 0.7169 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.0001818/0.5252, allocations: 255.5 kB / 0.9619 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.5253, allocations: 31.12 kB / 0.962 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.5253, allocations: 32.03 kB / 0.962 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5253, allocations: 2.188 kB / 0.962 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5253, allocations: 0 / 0.962 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5253, allocations: 3.984 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.5256, allocations: 348.4 kB / 0.9623 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5257, allocations: 0 / 0.9623 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.5258, allocations: 27.22 kB / 0.9624 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5258, allocations: 5 kB / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.5259, allocations: 8.297 kB / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5259, allocations: 0 / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5259, allocations: 1.25 kB / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.5268, allocations: 0.6261 MB / 0.963 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.5269, allocations: 109.4 kB / 0.9631 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.5269, allocations: 8.219 kB / 0.9631 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.5271, allocations: 24.06 kB / 0.9631 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/0.5272, allocations: 25.69 kB / 0.9631 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.5273, allocations: 9.5 kB / 0.9632 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002508/0.5275, allocations: 273.6 kB / 0.9634 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5275, allocations: 5.156 kB / 0.9634 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003873/0.5279, allocations: 108.8 kB / 0.9635 GB, free: 14.73 MB / 0.7325 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.001308/0.5292, allocations: 1.21 MB / 0.9647 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.5303, allocations: 0.8387 MB / 0.9655 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5303, allocations: 0 / 0.9655 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.5308, allocations: 384 kB / 0.9659 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.5313, allocations: 77.88 kB / 0.966 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/0.5367, allocations: 4.439 MB / 0.9703 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.537, allocations: 0.7768 MB / 0.9711 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.5371, allocations: 31.5 kB / 0.9711 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.5372, allocations: 89.5 kB / 0.9712 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.5372, allocations: 0 / 0.9712 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3412/0.8784, allocations: 8.657 MB / 0.9796 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/9.319, allocations: 13.11 kB / 0.9796 GB, free: 2.551 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches