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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001053/0.001053, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001385/0.001386, allocations: 177.2 kB / 16.27 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 16 kB / 0.873 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5258, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001961/0.5278, allocations: 1.801 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.5294, allocations: 1.197 MB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.5295, allocations: 7.938 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.5298, allocations: 103.5 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.169e-05/0.5299, allocations: 35.72 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.5304, allocations: 203.7 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.5307, allocations: 267.2 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.5309, allocations: 93.28 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.5309, allocations: 71.7 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.5311, allocations: 107.4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.5311, allocations: 12 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.5314, allocations: 203.7 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.5315, allocations: 79.73 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.5316, allocations: 148.9 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.5321, allocations: 0.514 MB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.5321, allocations: 0 / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5321, allocations: 3.938 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.5321, allocations: 0 / 1.028 GB, free: 11.02 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.000942/0.5331, allocations: 0.7622 MB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.5331, allocations: 8.031 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.5332, allocations: 54.67 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.5333, allocations: 40.47 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.5336, allocations: 328.4 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.5336, allocations: 16.66 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.5337, allocations: 16.38 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.5342, allocations: 311 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.5343, allocations: 0 / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.5343, allocations: 8 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.5343, allocations: 4 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006577/0.535, allocations: 300.4 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008769/0.5359, allocations: 0.6911 MB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.5364, allocations: 246.6 kB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.5368, allocations: 208.7 kB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.5368, allocations: 0 / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5368, allocations: 34.56 kB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.5368, allocations: 0 / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001298/0.5381, allocations: 0.7209 MB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.5382, allocations: 144.5 kB / 1.032 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.5386, allocations: 372.5 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.5386, allocations: 29.7 kB / 1.032 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.5387, allocations: 168.3 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.5388, allocations: 51.3 kB / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.5388, allocations: 25.7 kB / 1.032 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5389, allocations: 346.7 kB / 1.033 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.5394, allocations: 263.7 kB / 1.033 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.5398, allocations: 251.9 kB / 1.033 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009039/0.5407, allocations: 0.7089 MB / 1.034 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5407, allocations: 4 kB / 1.034 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001035/0.5418, allocations: 0.7624 MB / 1.034 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.5419, allocations: 178.2 kB / 1.035 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5419, allocations: 4 kB / 1.035 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.5419, allocations: 0 / 1.035 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.5421, allocations: 43.91 kB / 1.035 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5421, allocations: 3.984 kB / 1.035 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.5423, allocations: 43.81 kB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.5423, allocations: 16 kB / 1.035 GB, free: 3.5 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.0001884/0.5425, allocations: 258.8 kB / 1.035 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.5426, allocations: 31.62 kB / 1.035 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.5426, allocations: 34.88 kB / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5427, allocations: 0 / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5427, allocations: 0 / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5427, allocations: 0 / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.543, allocations: 357.2 kB / 1.035 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.543, allocations: 0 / 1.035 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.5432, allocations: 35.97 kB / 1.035 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5432, allocations: 7.938 kB / 1.035 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.5432, allocations: 8 kB / 1.035 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5432, allocations: 3.938 kB / 1.035 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5432, allocations: 0 / 1.035 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009485/0.5442, allocations: 0.6523 MB / 1.036 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.5442, allocations: 108.8 kB / 1.036 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.5443, allocations: 4 kB / 1.036 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.5445, allocations: 43.97 kB / 1.036 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.5446, allocations: 19.97 kB / 1.036 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.5446, allocations: 11.98 kB / 1.036 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002507/0.5449, allocations: 271 kB / 1.037 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5449, allocations: 0 / 1.037 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003608/0.5453, allocations: 103.8 kB / 1.037 GB, free: 1.445 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.001315/0.5466, allocations: 1.267 MB / 1.038 GB, free: 136 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.5477, allocations: 0.8711 MB / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5477, allocations: 0 / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.5482, allocations: 390.1 kB / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.5486, allocations: 73.33 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/0.5541, allocations: 4.569 MB / 1.044 GB, free: 10.01 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.5544, allocations: 0.787 MB / 1.044 GB, free: 9.199 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.274e-05/0.5545, allocations: 21.95 kB / 1.044 GB, free: 9.176 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.5546, allocations: 87.34 kB / 1.045 GB, free: 9.09 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.5546, allocations: 0 / 1.045 GB, free: 9.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.362/2.917, allocations: 7.965 MB / 1.052 GB, free: 1.383 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/2.917, allocations: 241.1 kB / 1.053 GB, free: 1.125 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.605/6.523, allocations: 1.406 kB / 1.053 GB, free: 1.125 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