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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007994/0.0007995, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00489/0.00489, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 8.281 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5359/0.5362, allocations: 142.4 MB / 0.9552 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001825/0.5381, allocations: 1.79 MB / 0.9569 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.5396, allocations: 1.202 MB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.5398, allocations: 4.031 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.5401, allocations: 95.7 kB / 0.9582 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.5402, allocations: 42.58 kB / 0.9582 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.5407, allocations: 208.3 kB / 0.9584 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.541, allocations: 259.5 kB / 0.9587 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.5412, allocations: 98.88 kB / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.5413, allocations: 76.58 kB / 0.9589 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.5414, allocations: 99.47 kB / 0.9589 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.5414, allocations: 13.22 kB / 0.959 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.5417, allocations: 202.6 kB / 0.9592 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/0.5418, allocations: 74.55 kB / 0.9592 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.5419, allocations: 152.9 kB / 0.9594 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.5424, allocations: 0.5119 MB / 0.9599 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.5424, allocations: 4 kB / 0.9599 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5424, allocations: 0 / 0.9599 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.5424, allocations: 0 / 0.9599 GB, free: 4.164 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.0008626/0.5433, allocations: 0.7695 MB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5433, allocations: 9.625 kB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.5433, allocations: 49.61 kB / 0.9607 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.5434, allocations: 36.97 kB / 0.9607 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.5437, allocations: 330 kB / 0.961 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.5438, allocations: 16.36 kB / 0.961 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.5438, allocations: 21.16 kB / 0.9611 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.5444, allocations: 311.7 kB / 0.9614 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5444, allocations: 0 / 0.9614 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.5444, allocations: 6.969 kB / 0.9614 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5444, allocations: 8.031 kB / 0.9614 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.5451, allocations: 302.8 kB / 0.9617 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008029/0.5459, allocations: 0.6808 MB / 0.9623 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.5464, allocations: 242.8 kB / 0.9626 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.5468, allocations: 208 kB / 0.9628 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.5468, allocations: 1.188 kB / 0.9628 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.5468, allocations: 39.81 kB / 0.9628 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.5468, allocations: 1.312 kB / 0.9628 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001248/0.5481, allocations: 0.7165 MB / 0.9635 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.5481, allocations: 137.4 kB / 0.9636 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.5484, allocations: 375.2 kB / 0.964 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.5485, allocations: 28.58 kB / 0.964 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.5486, allocations: 168.5 kB / 0.9642 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.5486, allocations: 49.73 kB / 0.9642 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.5486, allocations: 31.33 kB / 0.9643 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.5487, allocations: 342.9 kB / 0.9646 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.5491, allocations: 254.4 kB / 0.9648 GB, free: 444 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.5495, allocations: 260.9 kB / 0.9651 GB, free: 336 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.5504, allocations: 0.7172 MB / 0.9658 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5504, allocations: 0 / 0.9658 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001097/0.5515, allocations: 0.7646 MB / 0.9665 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.97e-05/0.5516, allocations: 178.1 kB / 0.9667 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5516, allocations: 1.188 kB / 0.9667 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.5517, allocations: 0 / 0.9667 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.5518, allocations: 38.81 kB / 0.9667 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5518, allocations: 1.031 kB / 0.9667 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.5521, allocations: 55.67 kB / 0.9668 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.5521, allocations: 14.19 kB / 0.9668 GB, free: 15.13 MB / 0.7325 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.000205/0.5523, allocations: 256 kB / 0.967 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.5524, allocations: 30.47 kB / 0.9671 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.5525, allocations: 36.16 kB / 0.9671 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5525, allocations: 2.031 kB / 0.9671 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5525, allocations: 0 / 0.9671 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5525, allocations: 0 / 0.9671 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.5528, allocations: 355.3 kB / 0.9674 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5528, allocations: 0.9688 kB / 0.9674 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.553, allocations: 34.69 kB / 0.9675 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.553, allocations: 4.969 kB / 0.9675 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.553, allocations: 8.219 kB / 0.9675 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.553, allocations: 0 / 0.9675 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.553, allocations: 0.9688 kB / 0.9675 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.554, allocations: 0.6506 MB / 0.9681 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.5541, allocations: 111.2 kB / 0.9682 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.5541, allocations: 15.95 kB / 0.9683 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.5544, allocations: 37.88 kB / 0.9683 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/0.5545, allocations: 26.09 kB / 0.9683 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.5545, allocations: 8.656 kB / 0.9683 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000272/0.5548, allocations: 281.6 kB / 0.9686 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5548, allocations: 0 / 0.9686 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003935/0.5552, allocations: 109.2 kB / 0.9687 GB, free: 13.71 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.001342/0.5565, allocations: 1.243 MB / 0.9699 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.5576, allocations: 0.866 MB / 0.9708 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5577, allocations: 4 kB / 0.9708 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.5581, allocations: 394 kB / 0.9711 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.5586, allocations: 64.59 kB / 0.9712 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/0.5641, allocations: 4.585 MB / 0.9757 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.5644, allocations: 0.7846 MB / 0.9764 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.568e-05/0.5645, allocations: 23.45 kB / 0.9765 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5647, allocations: 85.56 kB / 0.9765 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5647, allocations: 0 / 0.9765 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.147/1.711, allocations: 7.964 MB / 0.9843 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/1.712, allocations: 236.3 kB / 0.9845 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/3.456, allocations: 4 kB / 0.9845 GB, free: 0.582 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