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.001723/0.001723, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.001677/0.001677, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.364/3.364, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.002002/0.002002, allocations: 70.84 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4333, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003733/0.4371, allocations: 2.122 MB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.439, allocations: 1.219 MB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.4391, allocations: 4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.4394, allocations: 111.2 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.4395, allocations: 55.58 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.4402, allocations: 255.4 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.4405, allocations: 303.3 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.4407, allocations: 71.06 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.4408, allocations: 111.6 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.441, allocations: 131.4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.441, allocations: 28 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.4414, allocations: 231.7 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.4415, allocations: 95.67 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.4416, allocations: 151.1 kB / 1.326 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.4422, allocations: 0.5604 MB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4422, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4422, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.4422, allocations: 4 kB / 1.326 GB, free: 13.87 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.001193/0.4434, allocations: 0.8123 MB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4435, allocations: 15.98 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.368e-05/0.4435, allocations: 54.67 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.636e-05/0.4436, allocations: 36.75 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.444, allocations: 328.5 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.444, allocations: 16.66 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.4441, allocations: 16.38 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000972/0.445, allocations: 299 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.445, allocations: 0 / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.4451, allocations: 4 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4451, allocations: 4 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.4457, allocations: 276.4 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009665/0.4467, allocations: 0.6723 MB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.4473, allocations: 222.6 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.4476, allocations: 184.7 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.4477, allocations: 8 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4477, allocations: 38.48 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.4477, allocations: 0 / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001372/0.4491, allocations: 0.6735 MB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.4492, allocations: 132.5 kB / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.4496, allocations: 376.5 kB / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.4496, allocations: 33.7 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.4497, allocations: 172.4 kB / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.4498, allocations: 43.58 kB / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.4499, allocations: 49.7 kB / 1.33 GB, free: 9.164 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.45, allocations: 346.8 kB / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.4505, allocations: 235.8 kB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.4509, allocations: 239.8 kB / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.4519, allocations: 0.6814 MB / 1.332 GB, free: 7.613 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4519, allocations: 0 / 1.332 GB, free: 7.613 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001127/0.4531, allocations: 0.7314 MB / 1.333 GB, free: 6.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.4532, allocations: 182.2 kB / 1.333 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4532, allocations: 0 / 1.333 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4532, allocations: 0 / 1.333 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4534, allocations: 31.97 kB / 1.333 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4534, allocations: 0 / 1.333 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.4536, allocations: 51.69 kB / 1.333 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4536, allocations: 11.94 kB / 1.333 GB, free: 6.531 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.0002371/0.4538, allocations: 262.8 kB / 1.333 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.4539, allocations: 27.81 kB / 1.333 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.454, allocations: 34.94 kB / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.454, allocations: 0 / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.454, allocations: 0 / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.454, allocations: 0 / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.4543, allocations: 349.3 kB / 1.334 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4543, allocations: 0 / 1.334 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4545, allocations: 31.97 kB / 1.334 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4545, allocations: 0 / 1.334 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.4545, allocations: 8 kB / 1.334 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4545, allocations: 0 / 1.334 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4545, allocations: 0 / 1.334 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.4556, allocations: 0.6289 MB / 1.334 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.4556, allocations: 116.8 kB / 1.334 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.4557, allocations: 8 kB / 1.334 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.4559, allocations: 27.95 kB / 1.334 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.456, allocations: 19.98 kB / 1.334 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.456, allocations: 15.98 kB / 1.334 GB, free: 4.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002824/0.4563, allocations: 271 kB / 1.335 GB, free: 4.621 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4563, allocations: 0 / 1.335 GB, free: 4.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004709/0.4568, allocations: 107.9 kB / 1.335 GB, free: 4.516 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.001516/0.4583, allocations: 1.213 MB / 1.336 GB, free: 3.258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.4595, allocations: 0.8125 MB / 1.337 GB, free: 2.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4595, allocations: 4 kB / 1.337 GB, free: 2.367 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000674/0.4601, allocations: 362.1 kB / 1.337 GB, free: 1.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.4606, allocations: 79.77 kB / 1.337 GB, free: 1.902 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006166/0.4667, allocations: 4.444 MB / 1.341 GB, free: 13.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.4671, allocations: 0.7831 MB / 1.342 GB, free: 12.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.402e-05/0.4672, allocations: 17.95 kB / 1.342 GB, free: 12.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.4674, allocations: 95.39 kB / 1.342 GB, free: 12.43 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.4674, allocations: 0 / 1.342 GB, free: 12.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.5009, allocations: 8.734 MB / 1.351 GB, free: 3.918 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/8.987, allocations: 6.25 kB / 1.351 GB, free: 3.914 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.920746956020594]