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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 216.6 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 70.78 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3318, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003354/0.3351, allocations: 2.044 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3371, allocations: 1.137 MB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.3372, allocations: 7.938 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.3376, allocations: 107.4 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.3377, allocations: 47.59 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.3385, allocations: 259.5 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.3388, allocations: 303.2 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.339, allocations: 63.41 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3391, allocations: 107.7 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.3393, allocations: 123.4 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.3393, allocations: 32 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.3398, allocations: 243.7 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3399, allocations: 83.75 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.34, allocations: 119.4 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007119/0.3407, allocations: 0.566 MB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3407, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3407, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3407, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 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.001208/0.3419, allocations: 0.7486 MB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.342, allocations: 8.031 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.342, allocations: 50.73 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.3421, allocations: 40.7 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.3425, allocations: 266.7 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3426, allocations: 12.66 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.3426, allocations: 16.38 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006765/0.3433, allocations: 395.8 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3433, allocations: 3.984 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3433, allocations: 4 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3433, allocations: 4 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/0.344, allocations: 365.4 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.345, allocations: 0.5703 MB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.3456, allocations: 315.6 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.3461, allocations: 281.8 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.3461, allocations: 0 / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3461, allocations: 30.56 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.3461, allocations: 4 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001543/0.3477, allocations: 0.8548 MB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/0.3477, allocations: 132.5 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.3482, allocations: 380.5 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.3482, allocations: 33.7 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3483, allocations: 160.4 kB / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.3484, allocations: 47.64 kB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.93e-05/0.3485, allocations: 45.7 kB / 1.292 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3486, allocations: 342.8 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.3492, allocations: 422 kB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/0.3497, allocations: 428.1 kB / 1.293 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3507, allocations: 0.6933 MB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3507, allocations: 4 kB / 1.294 GB, free: 104 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001285/0.352, allocations: 0.9232 MB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.3522, allocations: 186.2 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3522, allocations: 4 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3522, allocations: 0 / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3524, allocations: 28.08 kB / 1.295 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3524, allocations: 3.938 kB / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.3526, allocations: 39.8 kB / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.3526, allocations: 15.98 kB / 1.295 GB, free: 14.79 MB / 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.000245/0.3528, allocations: 254.9 kB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.3529, allocations: 35.81 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.353, allocations: 26.88 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.353, allocations: 4 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.353, allocations: 0 / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.353, allocations: 3.984 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.3533, allocations: 280.4 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3533, allocations: 0 / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3535, allocations: 27.97 kB / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3535, allocations: 0 / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.3535, allocations: 4 kB / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3535, allocations: 7.938 kB / 1.296 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3535, allocations: 0 / 1.296 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3546, allocations: 0.7083 MB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.3546, allocations: 43.72 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.3547, allocations: 8 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.3549, allocations: 27.97 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.355, allocations: 27.97 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3551, allocations: 15.92 kB / 1.297 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002959/0.3554, allocations: 267 kB / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3554, allocations: 4 kB / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004128/0.3558, allocations: 107.8 kB / 1.297 GB, free: 12.82 MB / 0.9981 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.001582/0.3574, allocations: 1.305 MB / 1.298 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.3587, allocations: 1.085 MB / 1.299 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3587, allocations: 4 kB / 1.299 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.3593, allocations: 463 kB / 1.3 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3597, allocations: 61.34 kB / 1.3 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/0.3664, allocations: 5.303 MB / 1.305 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.3666, allocations: 182.1 kB / 1.305 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.866e-05/0.3667, allocations: 21.94 kB / 1.305 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3669, allocations: 91.41 kB / 1.305 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/0.3669, allocations: 0 / 1.305 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04009/0.4069, allocations: 9.764 MB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.67, allocations: 9.812 kB / 1.315 GB, free: 10.26 MB / 1.014 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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: 18.245564504992217]