Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001858/0.001858, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.002305/0.002305, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.305/3.305, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_12_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.003821/0.003821, allocations: 63.22 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4661, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004945/0.471, allocations: 2.155 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002691/0.4737, allocations: 1.231 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.4739, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.4745, allocations: 119.6 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.4747, allocations: 47.58 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.4757, allocations: 270.3 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.4763, allocations: 303.3 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.4764, allocations: 63.47 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.4766, allocations: 115.6 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.4769, allocations: 131.4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.4769, allocations: 28 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005229/0.4775, allocations: 255.7 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.4776, allocations: 87.69 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.4778, allocations: 151.2 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008871/0.4787, allocations: 0.5566 MB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4787, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4787, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.4787, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 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.001532/0.4802, allocations: 0.7447 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.4803, allocations: 16.02 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.4803, allocations: 46.75 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.4804, allocations: 36.69 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.4809, allocations: 278.6 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.4809, allocations: 12.66 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.481, allocations: 16.38 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.4817, allocations: 295 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4817, allocations: 4 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4817, allocations: 8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.4817, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/0.4824, allocations: 268.4 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.4836, allocations: 0.6402 MB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.4842, allocations: 218.6 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.4846, allocations: 188.7 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.4846, allocations: 0 / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4847, allocations: 34.5 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.4847, allocations: 4 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001516/0.4862, allocations: 0.6664 MB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.4863, allocations: 144.5 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.4868, allocations: 372.5 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.4868, allocations: 29.7 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.487, allocations: 168.4 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.4871, allocations: 47.59 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.4872, allocations: 45.81 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000247/0.4874, allocations: 350.7 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.4879, allocations: 239.9 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.4884, allocations: 241.9 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.4895, allocations: 0.685 MB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4895, allocations: 0 / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001259/0.4907, allocations: 0.7298 MB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002213/0.4909, allocations: 186.2 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4909, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.491, allocations: 4 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.4912, allocations: 23.97 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.4912, allocations: 8 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.4914, allocations: 47.78 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.4914, allocations: 11.94 kB / 1.338 GB, free: 5.305 MB / 1.029 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.0002689/0.4917, allocations: 254.9 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.4918, allocations: 35.77 kB / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.494e-05/0.4918, allocations: 26.88 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4918, allocations: 0 / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.4919, allocations: 4 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4919, allocations: 7.984 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.4923, allocations: 312.4 kB / 1.338 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4923, allocations: 3.938 kB / 1.338 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.4924, allocations: 31.97 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4924, allocations: 0 / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.4925, allocations: 4 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.4925, allocations: 7.984 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4925, allocations: 0 / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.4936, allocations: 0.6288 MB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.4937, allocations: 35.75 kB / 1.339 GB, free: 3.855 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.4937, allocations: 7.984 kB / 1.339 GB, free: 3.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.494, allocations: 31.97 kB / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.4941, allocations: 27.97 kB / 1.339 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4941, allocations: 4 kB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003515/0.4945, allocations: 275 kB / 1.339 GB, free: 3.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4945, allocations: 0 / 1.339 GB, free: 3.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004437/0.4949, allocations: 107.8 kB / 1.34 GB, free: 3.414 MB / 1.029 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.001764/0.4967, allocations: 1.213 MB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.498, allocations: 0.8126 MB / 1.342 GB, free: 1.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.498, allocations: 3.938 kB / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.4986, allocations: 362.1 kB / 1.342 GB, free: 0.875 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.499, allocations: 84.56 kB / 1.342 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/0.506, allocations: 4.442 MB / 1.346 GB, free: 12.24 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.5065, allocations: 0.7831 MB / 1.347 GB, free: 11.43 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000109/0.5066, allocations: 25.95 kB / 1.347 GB, free: 11.4 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.5067, allocations: 87.41 kB / 1.347 GB, free: 11.32 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.5067, allocations: 0 / 1.347 GB, free: 11.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04667/0.5534, allocations: 8.897 MB / 1.356 GB, free: 2.645 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.51, allocations: 10 kB / 1.356 GB, free: 2.637 MB / 1.045 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.70594232203439]