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.001517/0.001517, allocations: 108 kB / 15.6 MB, free: 132 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.001758/0.001758, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.427/2.427, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5419, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003342/0.5453, allocations: 2.095 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.5471, allocations: 1.173 MB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.5472, allocations: 8 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.5476, allocations: 111.3 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.5477, allocations: 47.58 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.5484, allocations: 257.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000327/0.5488, allocations: 327.2 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.549, allocations: 92.77 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.5491, allocations: 111.6 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.5493, allocations: 131.5 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.5494, allocations: 28 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.5497, allocations: 219.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.5498, allocations: 91.73 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.5499, allocations: 155.2 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.5505, allocations: 0.5453 MB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5505, allocations: 3.938 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5505, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.5505, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.7794 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.001284/0.5518, allocations: 0.801 MB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5519, allocations: 8.031 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/0.5519, allocations: 54.73 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.5521, allocations: 36.5 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.5526, allocations: 320.4 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.5526, allocations: 12.66 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.5527, allocations: 20.38 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.5537, allocations: 295 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5537, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.5537, allocations: 8 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5537, allocations: 4 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5548, allocations: 272.4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.5562, allocations: 0.6832 MB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008022/0.557, allocations: 226.6 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006033/0.5576, allocations: 192.7 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.5577, allocations: 4 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.5577, allocations: 30.56 kB / 1.026 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 2.003e-06/0.5577, allocations: 0 / 1.026 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.002127/0.5599, allocations: 0.6741 MB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/0.56, allocations: 140.5 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.5606, allocations: 380.4 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.5607, allocations: 29.7 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.5609, allocations: 172.3 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.5609, allocations: 51.28 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.5611, allocations: 49.7 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.5613, allocations: 342.8 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/0.562, allocations: 243.7 kB / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.5627, allocations: 237.9 kB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.5642, allocations: 0.6814 MB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5642, allocations: 0 / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001748/0.566, allocations: 0.7257 MB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.5662, allocations: 186.2 kB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5662, allocations: 0 / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5662, allocations: 4 kB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.5665, allocations: 23.97 kB / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5665, allocations: 8 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.5668, allocations: 43.72 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.5669, allocations: 8 kB / 1.029 GB, free: 5.746 MB / 0.7794 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.0002985/0.5672, allocations: 258.8 kB / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.5673, allocations: 31.62 kB / 1.03 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.5674, allocations: 26.94 kB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5674, allocations: 0 / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5674, allocations: 4 kB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5674, allocations: 4 kB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.568, allocations: 349.3 kB / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.568, allocations: 3.938 kB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.5683, allocations: 35.91 kB / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5683, allocations: 0 / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.5683, allocations: 4 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.5683, allocations: 7.938 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5683, allocations: 0 / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.5699, allocations: 0.625 MB / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.57, allocations: 108.7 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.5701, allocations: 4 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.5704, allocations: 31.97 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.5706, allocations: 27.97 kB / 1.031 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.5706, allocations: 4 kB / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004194/0.571, allocations: 279 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5711, allocations: 3.938 kB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006826/0.5717, allocations: 103.8 kB / 1.031 GB, free: 3.73 MB / 0.7794 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.002023/0.5738, allocations: 1.212 MB / 1.032 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.5755, allocations: 0.8476 MB / 1.033 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5755, allocations: 0 / 1.033 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008241/0.5764, allocations: 374 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.5769, allocations: 73.89 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.5831, allocations: 4.417 MB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.5835, allocations: 0.7831 MB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.723e-05/0.5836, allocations: 21.95 kB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.5837, allocations: 87.41 kB / 1.039 GB, free: 11.62 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.5837, allocations: 4 kB / 1.039 GB, free: 11.62 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.6359, allocations: 8.67 MB / 1.047 GB, free: 3.164 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.872, allocations: 3.359 kB / 1.047 GB, free: 3.164 MB / 0.795 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