Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001914/0.001914, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002623/0.002623, allocations: 217 kB / 22.99 MB, free: 4.945 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.676/1.676, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.599/3.599, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [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.002159/0.002159, allocations: 67.67 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.484, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004318/0.4883, allocations: 2.038 MB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.4906, allocations: 1.141 MB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.4907, allocations: 4 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.4913, allocations: 119.3 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.4914, allocations: 47.53 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008957/0.4923, allocations: 258.1 kB / 1.368 GB, free: 9.926 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.4927, allocations: 299.3 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.4929, allocations: 67.45 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.4931, allocations: 107.6 kB / 1.369 GB, free: 9.461 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.4933, allocations: 123.4 kB / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/0.4933, allocations: 28 kB / 1.369 GB, free: 9.312 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.4938, allocations: 235.7 kB / 1.369 GB, free: 9.082 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.4939, allocations: 91.69 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.494, allocations: 123.4 kB / 1.369 GB, free: 8.871 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007734/0.4948, allocations: 0.5605 MB / 1.37 GB, free: 8.309 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4948, allocations: 0 / 1.37 GB, free: 8.309 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4948, allocations: 0 / 1.37 GB, free: 8.309 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.4948, allocations: 0 / 1.37 GB, free: 8.309 MB / 1.061 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.001476/0.4963, allocations: 0.7486 MB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4964, allocations: 11.97 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.759e-05/0.4965, allocations: 40.7 kB / 1.371 GB, free: 7.438 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.4969, allocations: 262.8 kB / 1.371 GB, free: 7.156 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.497, allocations: 16.59 kB / 1.371 GB, free: 7.141 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.497, allocations: 19.94 kB / 1.371 GB, free: 7.121 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.4977, allocations: 379.8 kB / 1.371 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4978, allocations: 4 kB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.4978, allocations: 8 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4978, allocations: 4 kB / 1.371 GB, free: 6.711 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.4985, allocations: 357.5 kB / 1.372 GB, free: 6.344 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4996, allocations: 0.528 MB / 1.372 GB, free: 5.785 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.5002, allocations: 311.7 kB / 1.372 GB, free: 5.453 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.5007, allocations: 273.8 kB / 1.373 GB, free: 5.164 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.5007, allocations: 3.938 kB / 1.373 GB, free: 5.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.5007, allocations: 38.5 kB / 1.373 GB, free: 5.113 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.5007, allocations: 0 / 1.373 GB, free: 5.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.001543/0.5023, allocations: 0.8442 MB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.624e-05/0.5024, allocations: 132.5 kB / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.5028, allocations: 352.5 kB / 1.374 GB, free: 3.691 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.5029, allocations: 29.81 kB / 1.374 GB, free: 3.656 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.503, allocations: 180.4 kB / 1.374 GB, free: 3.473 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.5031, allocations: 47.56 kB / 1.374 GB, free: 3.426 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5032, allocations: 49.7 kB / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.5034, allocations: 342.8 kB / 1.375 GB, free: 3.027 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/0.504, allocations: 422 kB / 1.375 GB, free: 2.578 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.5046, allocations: 430 kB / 1.375 GB, free: 2.121 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5056, allocations: 0.6935 MB / 1.376 GB, free: 1.371 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5056, allocations: 0 / 1.376 GB, free: 1.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001334/0.5069, allocations: 0.9167 MB / 1.377 GB, free: 384 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.5071, allocations: 186.2 kB / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5071, allocations: 0 / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.5071, allocations: 0 / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.5073, allocations: 31.91 kB / 1.377 GB, free: 128 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5073, allocations: 0 / 1.377 GB, free: 128 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.5075, allocations: 43.86 kB / 1.377 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.5075, allocations: 11.98 kB / 1.377 GB, free: 72 kB / 1.061 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.0003362/0.5079, allocations: 262.8 kB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.5079, allocations: 31.81 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.508, allocations: 25.95 kB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.508, allocations: 0 / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.508, allocations: 0 / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.508, allocations: 0 / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.5084, allocations: 249.2 kB / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5084, allocations: 0 / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.5085, allocations: 31.97 kB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.5085, allocations: 0 / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5085, allocations: 4 kB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5085, allocations: 0 / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5085, allocations: 3.938 kB / 1.378 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.5097, allocations: 0.7183 MB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.5097, allocations: 35.73 kB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.5098, allocations: 8 kB / 1.379 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.51, allocations: 27.97 kB / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.5101, allocations: 23.97 kB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.5101, allocations: 8 kB / 1.379 GB, free: 14.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002861/0.5104, allocations: 251 kB / 1.379 GB, free: 14.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5104, allocations: 7.938 kB / 1.379 GB, free: 14.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004753/0.5109, allocations: 111.8 kB / 1.379 GB, free: 14.18 MB / 1.076 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.0003406/0.5112, allocations: 155 kB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.5127, allocations: 1.081 MB / 1.38 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5127, allocations: 0 / 1.38 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.5133, allocations: 463.1 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.5138, allocations: 69 kB / 1.381 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.5151, allocations: 0.7751 MB / 1.381 GB, free: 11.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.5153, allocations: 181.7 kB / 1.382 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.5154, allocations: 23.44 kB / 1.382 GB, free: 11.19 MB / 1.076 GB Notification: Performance of SimCode: time 7.92e-07/0.5154, allocations: 0 / 1.382 GB, free: 11.19 MB / 1.076 GB Notification: Performance of Templates: time 0.009251/0.5247, allocations: 5.077 MB / 1.387 GB, free: 6.156 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.70729380613193]