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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001242/0.001242, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.384/1.384, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 443.5 MB / 0.7287 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.91 kB / 1.056 GB, free: 2.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 160.7 MB / 1.213 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003407/0.3104, allocations: 2.115 MB / 1.215 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3122, allocations: 1.185 MB / 1.216 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.3123, allocations: 4 kB / 1.216 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.3127, allocations: 107.6 kB / 1.216 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.3128, allocations: 59.5 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.3135, allocations: 255.5 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.3138, allocations: 303.3 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.314, allocations: 63.05 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3141, allocations: 115.6 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3142, allocations: 127.5 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.3143, allocations: 28 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.3146, allocations: 235.7 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3147, allocations: 91.69 kB / 1.217 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.3149, allocations: 151.2 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006076/0.3155, allocations: 0.5527 MB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3155, allocations: 4 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3155, allocations: 4 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3155, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.9669 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.001186/0.3167, allocations: 0.816 MB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3167, allocations: 12.03 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.3168, allocations: 50.73 kB / 1.219 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.3168, allocations: 44.7 kB / 1.219 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.3173, allocations: 320.6 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3173, allocations: 16.66 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.3173, allocations: 16.38 kB / 1.219 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.3179, allocations: 295 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3179, allocations: 0 / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.3179, allocations: 4 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3179, allocations: 8 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.3186, allocations: 268.4 kB / 1.22 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.3195, allocations: 0.6719 MB / 1.221 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.3201, allocations: 226.5 kB / 1.221 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.3204, allocations: 184.7 kB / 1.221 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.3204, allocations: 4 kB / 1.221 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3205, allocations: 34.56 kB / 1.221 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.3205, allocations: 0 / 1.221 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.001332/0.3218, allocations: 0.6769 MB / 1.222 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.3219, allocations: 136.5 kB / 1.222 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.3223, allocations: 388.3 kB / 1.222 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.3223, allocations: 33.7 kB / 1.222 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3225, allocations: 160.4 kB / 1.222 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.3225, allocations: 47.64 kB / 1.222 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.3226, allocations: 49.7 kB / 1.222 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3228, allocations: 346.7 kB / 1.223 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.3232, allocations: 231.9 kB / 1.223 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.3236, allocations: 247.7 kB / 1.223 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/0.3246, allocations: 0.6775 MB / 1.224 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3246, allocations: 0 / 1.224 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001076/0.3256, allocations: 0.7241 MB / 1.225 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.3258, allocations: 184.2 kB / 1.225 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3258, allocations: 0 / 1.225 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3258, allocations: 3.938 kB / 1.225 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.3259, allocations: 31.97 kB / 1.225 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3259, allocations: 0 / 1.225 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.3262, allocations: 55.73 kB / 1.225 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3262, allocations: 4 kB / 1.225 GB, free: 4.633 MB / 0.9669 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.0002361/0.3264, allocations: 258.9 kB / 1.225 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.3265, allocations: 27.81 kB / 1.225 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.3265, allocations: 34.94 kB / 1.225 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3265, allocations: 0 / 1.225 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3265, allocations: 0 / 1.225 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3265, allocations: 3.984 kB / 1.225 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.3269, allocations: 353.3 kB / 1.226 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3269, allocations: 0 / 1.226 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.3271, allocations: 35.91 kB / 1.226 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3271, allocations: 0 / 1.226 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.3271, allocations: 7.984 kB / 1.226 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3271, allocations: 0 / 1.226 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3271, allocations: 0 / 1.226 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009482/0.328, allocations: 0.6251 MB / 1.226 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.3281, allocations: 116.8 kB / 1.226 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.3282, allocations: 8 kB / 1.226 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.3284, allocations: 31.91 kB / 1.226 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.3285, allocations: 23.97 kB / 1.226 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3285, allocations: 12 kB / 1.226 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002893/0.3288, allocations: 267 kB / 1.227 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3288, allocations: 0 / 1.227 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004245/0.3292, allocations: 107.9 kB / 1.227 GB, free: 2.609 MB / 0.9669 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.001436/0.3307, allocations: 1.224 MB / 1.228 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.3318, allocations: 0.8166 MB / 1.229 GB, free: 464 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3318, allocations: 0 / 1.229 GB, free: 464 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.3323, allocations: 374 kB / 1.229 GB, free: 52 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3327, allocations: 69.44 kB / 1.229 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005753/0.3385, allocations: 4.438 MB / 1.233 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3389, allocations: 0.7908 MB / 1.234 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.076e-05/0.339, allocations: 21.95 kB / 1.234 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3391, allocations: 91.41 kB / 1.234 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3391, allocations: 0 / 1.234 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.3718, allocations: 8.73 MB / 1.243 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.626, allocations: 6.531 kB / 1.243 GB, free: 2.004 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.343977513723075]