Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 111.7 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437.1 MB / 0.7178 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002153, allocations: 72.12 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 151.6 MB / 1.176 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001951/0.3278, allocations: 0.7048 MB / 1.177 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.329, allocations: 0.8121 MB / 1.177 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.329, allocations: 0 / 1.177 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.3291, allocations: 0 / 1.177 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.683e-05/0.3292, allocations: 11.88 kB / 1.177 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.645e-05/0.3292, allocations: 11.98 kB / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.908e-05/0.3293, allocations: 43.89 kB / 1.177 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3295, allocations: 12 kB / 1.177 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.3296, allocations: 19.92 kB / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.3296, allocations: 19.92 kB / 1.178 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.3297, allocations: 8 kB / 1.178 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.3297, allocations: 4 kB / 1.178 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.3297, allocations: 11.92 kB / 1.178 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.3297, allocations: 15.92 kB / 1.178 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3299, allocations: 43.8 kB / 1.178 GB, free: 4.105 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3299, allocations: 3.938 kB / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3299, allocations: 0 / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3299, allocations: 0 / 1.178 GB, free: 4.102 MB / 0.92 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.0006/0.3305, allocations: 367.3 kB / 1.178 GB, free: 3.691 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3305, allocations: 12.03 kB / 1.178 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.3306, allocations: 8.828 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3307, allocations: 172.3 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3307, allocations: 384 / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3308, allocations: 8.375 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.331, allocations: 66.22 kB / 1.178 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.331, allocations: 192 / 1.178 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3311, allocations: 7.938 kB / 1.178 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3311, allocations: 0 / 1.178 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.3314, allocations: 67.86 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.3318, allocations: 268.9 kB / 1.179 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.332, allocations: 58.48 kB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3321, allocations: 40.91 kB / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.3322, allocations: 0 / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3322, allocations: 30.56 kB / 1.179 GB, free: 2.852 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.3322, allocations: 0 / 1.179 GB, free: 2.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000571/0.3328, allocations: 133.5 kB / 1.179 GB, free: 2.715 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3328, allocations: 55.41 kB / 1.179 GB, free: 2.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/0.3329, allocations: 105.8 kB / 1.179 GB, free: 2.535 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.333, allocations: 29.7 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.333, allocations: 84.14 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.3331, allocations: 15.91 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.3331, allocations: 13.72 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3333, allocations: 322.8 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3334, allocations: 27.97 kB / 1.179 GB, free: 2.027 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3336, allocations: 31.95 kB / 1.179 GB, free: 1.996 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.3339, allocations: 72.73 kB / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3339, allocations: 3.938 kB / 1.179 GB, free: 1.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003331/0.3342, allocations: 97.94 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3342, allocations: 8 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3342, allocations: 7.984 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3343, allocations: 0 / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3344, allocations: 11.98 kB / 1.18 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3344, allocations: 4 kB / 1.18 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.3345, allocations: 7.984 kB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3345, allocations: 0 / 1.18 GB, free: 1.777 MB / 0.92 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 8.773e-05/0.3346, allocations: 117.8 kB / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.3346, allocations: 15.88 kB / 1.18 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.3347, allocations: 7.906 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3347, allocations: 0 / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3347, allocations: 0 / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3347, allocations: 0 / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.3349, allocations: 177.5 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3349, allocations: 0 / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.335, allocations: 19.97 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.335, allocations: 0 / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.335, allocations: 0 / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.335, allocations: 4 kB / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.335, allocations: 4 kB / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.3354, allocations: 191.4 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.3355, allocations: 85.06 kB / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3355, allocations: 3.984 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3356, allocations: 15.98 kB / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.3357, allocations: 4 kB / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.3357, allocations: 0 / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.3357, allocations: 87.27 kB / 1.18 GB, free: 0.957 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3357, allocations: 0 / 1.18 GB, free: 0.957 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002212/0.336, allocations: 12 kB / 1.18 GB, free: 0.9453 MB / 0.92 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.000133/0.3361, allocations: 99.19 kB / 1.18 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.3365, allocations: 71.92 kB / 1.181 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3365, allocations: 0 / 1.181 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3367, allocations: 35.95 kB / 1.181 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.337, allocations: 11.88 kB / 1.181 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.3373, allocations: 155 kB / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3377, allocations: 0.6846 MB / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.3377, allocations: 7.438 kB / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3377, allocations: 0 / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.002421/0.3402, allocations: 0.743 MB / 1.182 GB, free: 15.08 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.082949716015719]