Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.442/2.442, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7111/0.7129, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002638/0.7155, allocations: 2.132 MB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.7169, allocations: 1.193 MB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.717, allocations: 6.938 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.7173, allocations: 109.3 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.7174, allocations: 51.14 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.7179, allocations: 257.6 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.7182, allocations: 301.9 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.7183, allocations: 64.39 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.7184, allocations: 110 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.7186, allocations: 129.7 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.7186, allocations: 29.56 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.719, allocations: 232.9 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.719, allocations: 98.02 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.7191, allocations: 150.5 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004997/0.7196, allocations: 0.5597 MB / 1.277 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7196, allocations: 0.7812 kB / 1.277 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7196, allocations: 0 / 1.277 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7197, allocations: 0 / 1.277 GB, free: 4.508 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.0008575/0.7205, allocations: 0.8162 MB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.7205, allocations: 9.344 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.7206, allocations: 57.08 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.7206, allocations: 37.05 kB / 1.278 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.7209, allocations: 325.5 kB / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.7209, allocations: 16.56 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.721, allocations: 17 kB / 1.278 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.7215, allocations: 305.6 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.7215, allocations: 0 / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.7215, allocations: 6.688 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.7215, allocations: 4.438 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.7221, allocations: 264.3 kB / 1.278 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008083/0.7229, allocations: 0.6726 MB / 1.279 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.7234, allocations: 226.5 kB / 1.279 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.7238, allocations: 184.8 kB / 1.28 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.7238, allocations: 1.203 kB / 1.28 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.7238, allocations: 45.27 kB / 1.28 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.7238, allocations: 0 / 1.28 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.001261/0.7251, allocations: 0.6708 MB / 1.28 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.7251, allocations: 134.7 kB / 1.28 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.7254, allocations: 385 kB / 1.281 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.7255, allocations: 31.86 kB / 1.281 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.7255, allocations: 162.8 kB / 1.281 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.7256, allocations: 49.42 kB / 1.281 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.7256, allocations: 48.77 kB / 1.281 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.7257, allocations: 343.3 kB / 1.281 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.7261, allocations: 238.4 kB / 1.282 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.7264, allocations: 239.1 kB / 1.282 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007474/0.7272, allocations: 0.6834 MB / 1.282 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7272, allocations: 4 kB / 1.282 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008836/0.7281, allocations: 0.7289 MB / 1.283 GB, free: 456 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.7281, allocations: 179.8 kB / 1.283 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7281, allocations: 0 / 1.283 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7282, allocations: 0.6562 kB / 1.283 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.7283, allocations: 37 kB / 1.283 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.7283, allocations: 0 / 1.283 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.7285, allocations: 44.05 kB / 1.283 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.7285, allocations: 4.406 kB / 1.283 GB, free: 240 kB / 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.0001608/0.7287, allocations: 266 kB / 1.284 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.7287, allocations: 30.5 kB / 1.284 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.7288, allocations: 35.09 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7288, allocations: 2.062 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7288, allocations: 4.641 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7288, allocations: 0.75 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.7292, allocations: 354.5 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7292, allocations: 0 / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.7293, allocations: 29.19 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7293, allocations: 3.938 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.7294, allocations: 5.266 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.7294, allocations: 8 kB / 1.284 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7294, allocations: 0 / 1.284 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.7303, allocations: 0.6195 MB / 1.285 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.7303, allocations: 108.3 kB / 1.285 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.7304, allocations: 15.06 kB / 1.285 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.7306, allocations: 23.16 kB / 1.285 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.7307, allocations: 24.73 kB / 1.285 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.7307, allocations: 12.27 kB / 1.285 GB, free: 15.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002647/0.731, allocations: 269.3 kB / 1.285 GB, free: 15.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.731, allocations: 0 / 1.285 GB, free: 15.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003822/0.7314, allocations: 107.5 kB / 1.285 GB, free: 15.03 MB / 1.014 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.001338/0.7327, allocations: 1.223 MB / 1.286 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.7338, allocations: 0.8162 MB / 1.287 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7338, allocations: 0 / 1.287 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.7343, allocations: 373.2 kB / 1.288 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.7347, allocations: 68.14 kB / 1.288 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.74, allocations: 4.435 MB / 1.292 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.7404, allocations: 0.787 MB / 1.293 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.339e-05/0.7404, allocations: 23.52 kB / 1.293 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.7406, allocations: 92.02 kB / 1.293 GB, free: 10.13 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.7406, allocations: 0 / 1.293 GB, free: 10.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.7731, allocations: 8.711 MB / 1.301 GB, free: 9.316 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/8.143, allocations: 5.266 kB / 1.301 GB, free: 9.316 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.289716548999422]