Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.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.001319/0.001319, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002046/0.003366, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007653/0.0007653, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001795, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.066/1.066, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1096/1.176, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.503/2.503, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2816/2.785, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.51e-05, allocations: 2.312 kB / 0.819 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001439/0.001454, allocations: 0.7292 MB / 0.8197 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.002218, allocations: 0.8469 MB / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.002245, allocations: 0 / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.002264, allocations: 0 / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.99e-05/0.002293, allocations: 3.938 kB / 0.8205 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.093e-05/0.002334, allocations: 4 kB / 0.8205 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.0024, allocations: 27.92 kB / 0.8206 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.002468, allocations: 0 / 0.8206 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.005561, allocations: 27.92 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.005599, allocations: 11.97 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.005618, allocations: 0 / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.005626, allocations: 4 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.005642, allocations: 7.938 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.005658, allocations: 4 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.893e-05/0.005727, allocations: 7.984 kB / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.005739, allocations: 0 / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005739, allocations: 0 / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.005753, allocations: 0 / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003478/0.006101, allocations: 240.6 kB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.006136, allocations: 12.03 kB / 0.8209 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.006162, allocations: 0.9375 kB / 0.8209 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.656e-05/0.006259, allocations: 117.7 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.006268, allocations: 384 / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.006278, allocations: 8.312 kB / 0.821 GB, free: 308 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.00638, allocations: 58.89 kB / 0.821 GB, free: 240 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.006387, allocations: 192 / 0.8211 GB, free: 240 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.006395, allocations: 4.359 kB / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.006401, allocations: 384 / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.006424, allocations: 7.938 kB / 0.8211 GB, free: 228 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.006612, allocations: 144.3 kB / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.006655, allocations: 26.52 kB / 0.8212 GB, free: 32 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.006672, allocations: 8.922 kB / 0.8212 GB, free: 20 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.006678, allocations: 0 / 0.8212 GB, free: 20 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.006712, allocations: 30.56 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.006713, allocations: 0 / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001008/0.006813, allocations: 37.73 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.006842, allocations: 59.34 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.351e-05/0.006896, allocations: 106.7 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.006905, allocations: 33.77 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.006935, allocations: 84.14 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.006952, allocations: 7.953 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.006977, allocations: 9.719 kB / 0.8216 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.007058, allocations: 318.8 kB / 0.8219 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.007067, allocations: 3.984 kB / 0.8219 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-06/0.007076, allocations: 4 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.034e-05/0.007096, allocations: 8.859 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007097, allocations: 0 / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.407e-05/0.007141, allocations: 42 kB / 0.8219 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.007154, allocations: 4 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007159, allocations: 0 / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.007171, allocations: 4 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.007232, allocations: 11.88 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.007237, allocations: 4 kB / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.007256, allocations: 3.938 kB / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-06/0.007258, allocations: 0 / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 4.745e-05/0.007306, allocations: 113.8 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.007325, allocations: 0 / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.007342, allocations: 11.34 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.007343, allocations: 0 / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.007346, allocations: 11.88 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007349, allocations: 0 / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.574e-05/0.007444, allocations: 69.88 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007445, allocations: 0 / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.007464, allocations: 4 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.007472, allocations: 11.95 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.007473, allocations: 0 / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.007477, allocations: 0 / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007477, allocations: 0 / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.00748, allocations: 7.938 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.007619, allocations: 131.5 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.007628, allocations: 4 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.007674, allocations: 7.984 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.007699, allocations: 0 / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.0077, allocations: 4 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.141e-05/0.007712, allocations: 12.8 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007712, allocations: 0 / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001623/0.007874, allocations: 4 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.297e-05/0.007947, allocations: 80.44 kB / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.515e-05/0.008002, allocations: 12.86 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.008007, allocations: 0 / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.008026, allocations: 8.859 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.008204, allocations: 41.64 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.01157, allocations: 120.6 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.01161, allocations: 55.55 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.01163, allocations: 7.938 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.01167, allocations: 51.38 kB / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.01168, allocations: 0 / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.001969/0.01364, allocations: 481 kB / 0.8232 GB, free: 13.85 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5023863557726145]