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.001889/0.001889, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002029/0.002029, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.062/3.062, allocations: 377.9 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.384e-05, allocations: 7.297 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00194/0.001974, allocations: 0.7076 MB / 0.8116 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003174, allocations: 0.8325 MB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.003216, allocations: 4 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.003242, allocations: 3.938 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.003319, allocations: 5.531 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.85e-05/0.003387, allocations: 11.98 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.00348, allocations: 47.84 kB / 0.8125 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.003581, allocations: 11.98 kB / 0.8125 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.003683, allocations: 29.44 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.003728, allocations: 11.98 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.003748, allocations: 4 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.003759, allocations: 4 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.003782, allocations: 13.17 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.003808, allocations: 8 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.003914, allocations: 43.91 kB / 0.8126 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003917, allocations: 5.219 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003918, allocations: 0 / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.003923, allocations: 0 / 0.8126 GB, free: 324 kB / 0.7605 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.0006228/0.004546, allocations: 380.9 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.00459, allocations: 12.03 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.004634, allocations: 5.391 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.004766, allocations: 114.1 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.004781, allocations: 4.375 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.00479, allocations: 384 / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.004996, allocations: 58.23 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005005, allocations: 0.8125 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.005015, allocations: 1.344 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.005018, allocations: 384 / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.0052, allocations: 48.66 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.00564, allocations: 272.3 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.00581, allocations: 52.38 kB / 0.8135 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.005917, allocations: 27.77 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.005937, allocations: 4 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.005976, allocations: 35.14 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.005977, allocations: 0 / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004094/0.006386, allocations: 105.1 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.006436, allocations: 59.39 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.006587, allocations: 169.9 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.006608, allocations: 29.7 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.429e-05/0.006703, allocations: 134.8 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.006731, allocations: 11.89 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.006783, allocations: 19.38 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002838/0.007067, allocations: 0.4884 MB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/0.007162, allocations: 19.98 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.163e-05/0.007244, allocations: 20.89 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.007411, allocations: 48.72 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007413, allocations: 0 / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002234/0.007637, allocations: 83.31 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.007654, allocations: 7.938 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.007658, allocations: 0 / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.007674, allocations: 0.75 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.007786, allocations: 15.92 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.007801, allocations: 0.8125 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.007856, allocations: 10.08 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.007868, allocations: 4 kB / 0.8147 GB, free: 13.92 MB / 0.7761 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 0.0001381/0.008006, allocations: 152.6 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.008037, allocations: 8 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.008078, allocations: 7.938 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.00808, allocations: 0.5312 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.008088, allocations: 4.812 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.008092, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.008291, allocations: 129.6 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008292, allocations: 0 / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.008363, allocations: 11.98 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008365, allocations: 1.25 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.008375, allocations: 0 / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.00838, allocations: 7.875 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.00839, allocations: 4.953 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.008773, allocations: 226.2 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.008785, allocations: 4 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.008808, allocations: 4 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.008887, allocations: 11.92 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.008941, allocations: 0 / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.00895, allocations: 4 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.587e-05/0.009046, allocations: 132.2 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009046, allocations: 0 / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002068/0.009252, allocations: 8 kB / 0.8154 GB, free: 13.16 MB / 0.7761 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 0.0001917/0.009444, allocations: 96.34 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.009727, allocations: 60.7 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.009729, allocations: 0 / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.009835, allocations: 32.61 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.0101, allocations: 12.53 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.0105, allocations: 139 kB / 0.8157 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.01059, allocations: 76.69 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.01063, allocations: 4.875 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.01068, allocations: 16.5 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.01068, allocations: 1.094 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.00389/0.01457, allocations: 0.7501 MB / 0.8166 GB, free: 11.95 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.233480999013409]