Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001872/0.001872, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002446/0.002446, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.631/1.631, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.836/2.836, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.048e-05, allocations: 2.281 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002008/0.002039, allocations: 0.6951 MB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003434, allocations: 0.8237 MB / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.003484, allocations: 0 / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.003514, allocations: 3.938 kB / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.523e-05/0.003609, allocations: 11.88 kB / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.561e-05/0.003705, allocations: 15.97 kB / 0.9526 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.00381, allocations: 47.84 kB / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.003937, allocations: 15.92 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.004043, allocations: 19.98 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.004093, allocations: 15.92 kB / 0.9527 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.00412, allocations: 4 kB / 0.9527 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.00413, allocations: 4 kB / 0.9527 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.004154, allocations: 11.98 kB / 0.9527 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.004184, allocations: 7.938 kB / 0.9527 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.004317, allocations: 43.91 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.00432, allocations: 4 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004321, allocations: 4 kB / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.004325, allocations: 0 / 0.9527 GB, free: 9.785 MB / 0.8575 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.0006384/0.004964, allocations: 286.2 kB / 0.953 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.005009, allocations: 11.97 kB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.005051, allocations: 4.938 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005194, allocations: 121.6 kB / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.00521, allocations: 384 / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.005222, allocations: 4.359 kB / 0.9531 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.005515, allocations: 74.22 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.005527, allocations: 192 / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.005539, allocations: 384 / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.005545, allocations: 4.312 kB / 0.9532 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.005846, allocations: 67.86 kB / 0.9533 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.006289, allocations: 200.6 kB / 0.9535 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.006529, allocations: 66.47 kB / 0.9535 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.006701, allocations: 32.92 kB / 0.9536 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.006719, allocations: 0 / 0.9536 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.006752, allocations: 34.56 kB / 0.9536 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.006753, allocations: 0 / 0.9536 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006061/0.007359, allocations: 141.4 kB / 0.9537 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.007428, allocations: 51.41 kB / 0.9538 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.007527, allocations: 109.8 kB / 0.9539 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.007545, allocations: 25.7 kB / 0.9539 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.007616, allocations: 84.14 kB / 0.954 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.007646, allocations: 19.84 kB / 0.954 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.007684, allocations: 13.7 kB / 0.954 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.007849, allocations: 314.8 kB / 0.9543 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.008, allocations: 31.97 kB / 0.9544 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.008141, allocations: 31.95 kB / 0.9544 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.008425, allocations: 68.78 kB / 0.9545 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.008427, allocations: 0 / 0.9545 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003367/0.008764, allocations: 105.6 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.008785, allocations: 7.938 kB / 0.9546 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.008791, allocations: 0 / 0.9546 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.008808, allocations: 4 kB / 0.9546 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.008938, allocations: 15.98 kB / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.008944, allocations: 0 / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.009028, allocations: 19.97 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.009036, allocations: 0 / 0.9546 GB, free: 7.695 MB / 0.8575 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.0001049/0.009141, allocations: 109.8 kB / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.009171, allocations: 3.953 kB / 0.9547 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.009207, allocations: 15.94 kB / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.00921, allocations: 0 / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.009215, allocations: 0 / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.00922, allocations: 336 / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.0094, allocations: 117.2 kB / 0.9548 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.009401, allocations: 0 / 0.9548 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.009507, allocations: 27.91 kB / 0.9549 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.00951, allocations: 0 / 0.9549 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.009524, allocations: 4 kB / 0.9549 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.009528, allocations: 3.938 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.00953, allocations: 3.984 kB / 0.9549 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.009958, allocations: 187.4 kB / 0.9551 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.009975, allocations: 11.95 kB / 0.9551 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.00999, allocations: 4 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.0101, allocations: 19.91 kB / 0.9551 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.01016, allocations: 4 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.01016, allocations: 0 / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.801e-05/0.01023, allocations: 91.58 kB / 0.9552 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01023, allocations: 0 / 0.9552 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002228/0.01045, allocations: 8 kB / 0.9552 GB, free: 7.035 MB / 0.8575 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.000191/0.01064, allocations: 91.25 kB / 0.9553 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.01102, allocations: 75.86 kB / 0.9553 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01102, allocations: 0 / 0.9553 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.01118, allocations: 35.95 kB / 0.9554 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.0115, allocations: 4.234 kB / 0.9554 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.01188, allocations: 128.4 kB / 0.9555 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.01195, allocations: 67.33 kB / 0.9556 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.01199, allocations: 4 kB / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.01202, allocations: 8.5 kB / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.01202, allocations: 0 / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of Templates: time 0.003778/0.0158, allocations: 0.7399 MB / 0.9563 GB, free: 5.844 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.338186919689178]