Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001428/0.001428, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001722/0.001722, allocations: 160.1 kB / 23.01 MB, free: 4.594 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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 2.887/2.887, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [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.002413/0.002413, allocations: 63.91 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.019, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001733/1.021, allocations: 0.6921 MB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00072/1.021, allocations: 0.8335 MB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/1.021, allocations: 0 / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/1.021, allocations: 7.453 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/1.021, allocations: 3.938 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.912e-05/1.022, allocations: 14.19 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.504e-05/1.022, allocations: 56.91 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/1.022, allocations: 3.094 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/1.022, allocations: 16.45 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.925e-05/1.022, allocations: 20.16 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/1.022, allocations: 5.344 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/1.022, allocations: 6.562 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/1.022, allocations: 7.984 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/1.022, allocations: 16.31 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 7.822e-05/1.022, allocations: 40.09 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.022, allocations: 4 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/1.022, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.858e-06/1.022, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004232/1.022, allocations: 293.8 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/1.022, allocations: 7.75 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/1.022, allocations: 7.438 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/1.023, allocations: 112.5 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/1.023, allocations: 2.781 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/1.023, allocations: 10.84 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/1.023, allocations: 72.19 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/1.023, allocations: 192 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/1.023, allocations: 3.938 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/1.023, allocations: 0 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/1.023, allocations: 63.27 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/1.023, allocations: 204.8 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/1.024, allocations: 62.3 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/1.024, allocations: 39.69 kB / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/1.024, allocations: 6.766 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/1.024, allocations: 30.56 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/1.024, allocations: 0 / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0004996/1.024, allocations: 132.9 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/1.024, allocations: 55.34 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.318e-05/1.024, allocations: 107.5 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/1.024, allocations: 29.7 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/1.024, allocations: 86.72 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/1.024, allocations: 17.88 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/1.024, allocations: 12.28 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/1.024, allocations: 321.3 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/1.025, allocations: 29.34 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/1.025, allocations: 32.59 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/1.025, allocations: 67.86 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.025, allocations: 4 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002838/1.025, allocations: 103.7 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.025, allocations: 9.938 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/1.025, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.025, allocations: 3.125 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.025, allocations: 15.62 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/1.025, allocations: 4 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/1.025, allocations: 12.17 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/1.025, allocations: 0 / 1.158 GB, free: 30.62 MB / 1.076 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 (3): * Single equations (assignments): 3 * 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.231e-05/1.025, allocations: 113.9 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/1.025, allocations: 7.891 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/1.026, allocations: 10.22 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/1.026, allocations: 0 / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/1.026, allocations: 3.938 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/1.026, allocations: 0 / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.353e-05/1.026, allocations: 113.5 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/1.026, allocations: 4 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/1.026, allocations: 19.78 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/1.026, allocations: 0 / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/1.026, allocations: 6.781 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.026, allocations: 0 / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/1.026, allocations: 0 / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/1.026, allocations: 188.8 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/1.026, allocations: 22.03 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/1.026, allocations: 0 / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/1.026, allocations: 10.78 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/1.026, allocations: 3.422 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/1.026, allocations: 2.656 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.559e-05/1.026, allocations: 86.22 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.026, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003159/1.027, allocations: 6.281 kB / 1.158 GB, free: 30.11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.917e-05/1.027, allocations: 100.1 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003334/1.027, allocations: 68.56 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.027, allocations: 0 / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/1.027, allocations: 39.48 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/1.028, allocations: 17.97 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/1.028, allocations: 123.2 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.228e-05/1.028, allocations: 70.47 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.06e-05/1.028, allocations: 0 / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/1.028, allocations: 11.5 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/1.028, allocations: 3.938 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of Templates: time 0.003679/1.032, allocations: 0.717 MB / 1.159 GB, free: 29.68 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 9.041688557947055]