Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001654/0.001654, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001623/0.001623, allocations: 173 kB / 23.36 MB, free: 1.133 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.38/2.38, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.307e-05, allocations: 9.547 kB / 0.8387 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001076/0.001089, allocations: 0.7152 MB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.00181, allocations: 0.8469 MB / 0.8402 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.001837, allocations: 0 / 0.8402 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.001857, allocations: 3.938 kB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.001904, allocations: 3.938 kB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-05/0.001947, allocations: 23.97 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.386e-05/0.002, allocations: 43.84 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.002055, allocations: 8 kB / 0.8403 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.002119, allocations: 27.91 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.652e-05/0.002146, allocations: 11.98 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.00216, allocations: 4 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-06/0.002165, allocations: 4 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.002179, allocations: 11.94 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.002194, allocations: 11.97 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.594e-05/0.00225, allocations: 35.84 kB / 0.8404 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.002251, allocations: 0 / 0.8404 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002252, allocations: 4 kB / 0.8404 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.455e-06/0.002254, allocations: 0 / 0.8404 GB, free: 12.43 MB / 0.8073 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.0003233/0.002578, allocations: 248.9 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.002606, allocations: 12.62 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.06e-05/0.002627, allocations: 8.922 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.387e-05/0.002691, allocations: 113.7 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.0027, allocations: 4.375 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.002708, allocations: 384 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.929e-05/0.002797, allocations: 66.94 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.002803, allocations: 4.188 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.00281, allocations: 4.375 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.002815, allocations: 384 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.002832, allocations: 7.938 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.002996, allocations: 160.2 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.00304, allocations: 22.67 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.003055, allocations: 12.84 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.003061, allocations: 0 / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.003077, allocations: 30.56 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.003077, allocations: 0 / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 8.708e-05/0.003165, allocations: 53.75 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.003189, allocations: 51.41 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.819e-05/0.003237, allocations: 122.7 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.003245, allocations: 25.7 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.003269, allocations: 80.14 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.003283, allocations: 15.89 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.003302, allocations: 9.719 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.003371, allocations: 318.8 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.00338, allocations: 0 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-06/0.00339, allocations: 7.984 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.003415, allocations: 28.83 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.003416, allocations: 0 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.902e-05/0.003455, allocations: 41.62 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.003468, allocations: 4 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.003473, allocations: 3.938 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.003483, allocations: 3.938 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.003536, allocations: 11.98 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.003538, allocations: 0 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.003558, allocations: 12 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.003563, allocations: 0 / 0.8418 GB, free: 10.81 MB / 0.8073 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.313e-05/0.003606, allocations: 109.8 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.003619, allocations: 7.984 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.003634, allocations: 8 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.003636, allocations: 3.938 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.003637, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.003639, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.065e-05/0.00371, allocations: 69.89 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003711, allocations: 0 / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.003732, allocations: 8 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.003733, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-06/0.003737, allocations: 4 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.003738, allocations: 4 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.00374, allocations: 7.938 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.585e-05/0.003806, allocations: 147.5 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.003811, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-06/0.003817, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.003851, allocations: 4 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.003875, allocations: 7.984 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.003878, allocations: 3.938 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.246e-05/0.00389, allocations: 16.84 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.00389, allocations: 0 / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000109/0.003999, allocations: 15.95 kB / 0.8422 GB, free: 10.35 MB / 0.8073 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 6.074e-05/0.00406, allocations: 75.92 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.856e-05/0.004109, allocations: 16.8 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00411, allocations: 0 / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.004125, allocations: 16.84 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.004237, allocations: 11.94 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.004425, allocations: 136.5 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.534e-05/0.004451, allocations: 55.3 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.749e-05/0.004468, allocations: 7.938 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.004509, allocations: 51.38 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.004509, allocations: 0 / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.001732/0.006241, allocations: 0.6932 MB / 0.8432 GB, free: 9.242 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1732714381068945]