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.001592/0.001592, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001698/0.001698, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.46/1.46, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.625/2.625, allocations: 443.5 MB / 0.7293 GB, free: 14.45 MB / 0.5762 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.001928/0.001928, allocations: 75.89 kB / 1.057 GB, free: 1.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2899, allocations: 160.7 MB / 1.214 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001886/0.2918, allocations: 0.71 MB / 1.215 GB, free: 132 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.2928, allocations: 0.8118 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.2928, allocations: 0 / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.2928, allocations: 3.938 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.908e-05/0.2929, allocations: 7.938 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.032e-05/0.293, allocations: 11.98 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.2931, allocations: 47.83 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2932, allocations: 12 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.2932, allocations: 19.92 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.2933, allocations: 19.92 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2933, allocations: 0 / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.2933, allocations: 8 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.2933, allocations: 15.92 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.2934, allocations: 11.94 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2935, allocations: 47.78 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2935, allocations: 4 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2935, allocations: 0 / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2935, allocations: 0 / 1.216 GB, free: 15.1 MB / 0.9669 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.0005682/0.294, allocations: 359.3 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2941, allocations: 12.03 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.2941, allocations: 8.891 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.2943, allocations: 172.2 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2943, allocations: 4.375 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.2943, allocations: 4.375 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.2946, allocations: 66.16 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2946, allocations: 192 / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2946, allocations: 7.938 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2946, allocations: 8 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.2949, allocations: 59.92 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.2952, allocations: 268.9 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.2955, allocations: 58.48 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.2956, allocations: 40.91 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.2956, allocations: 0 / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2957, allocations: 30.56 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2957, allocations: 0 / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005565/0.2962, allocations: 133.5 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2963, allocations: 51.41 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.2964, allocations: 113.8 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2964, allocations: 29.7 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.2964, allocations: 80.14 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.2965, allocations: 19.91 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2965, allocations: 13.72 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2966, allocations: 318.8 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2968, allocations: 27.97 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.2969, allocations: 35.95 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.2972, allocations: 64.8 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2972, allocations: 3.938 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003291/0.2975, allocations: 101.8 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2976, allocations: 4 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2976, allocations: 8 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2976, allocations: 4.047 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2977, allocations: 15.97 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2977, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.88e-05/0.2978, allocations: 11.98 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2978, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 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 9.557e-05/0.2979, allocations: 117.8 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.2979, allocations: 3.953 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.298, allocations: 15.89 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.298, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.298, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.298, allocations: 3.938 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.2982, allocations: 169.6 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2982, allocations: 0 / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.854e-05/0.2983, allocations: 19.97 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2983, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2983, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2983, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2983, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.2986, allocations: 199.3 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2987, allocations: 85.05 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2987, allocations: 3.984 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2988, allocations: 11.98 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.2989, allocations: 8 kB / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2989, allocations: 0 / 1.218 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.2989, allocations: 91.25 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2989, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002125/0.2991, allocations: 8 kB / 1.219 GB, free: 11.95 MB / 0.9669 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.0001371/0.2993, allocations: 99.25 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.2996, allocations: 75.86 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2996, allocations: 3.938 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.2998, allocations: 35.95 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3001, allocations: 9.812 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.3004, allocations: 155.1 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3007, allocations: 0.6806 MB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.3008, allocations: 11.44 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.3008, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of Templates: time 0.002188/0.303, allocations: 0.7425 MB / 1.22 GB, free: 10.08 MB / 0.9669 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.127420124830678]