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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 443.5 MB / 0.731 GB, free: 13.96 MB / 0.5762 GB [Timeout remaining time 87] 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=502,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=502,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.001905/0.001905, allocations: 71.89 kB / 1.06 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3165, allocations: 160.7 MB / 1.217 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002186/0.3187, allocations: 0.7035 MB / 1.217 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3197, allocations: 0.8079 MB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.3198, allocations: 0 / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.3198, allocations: 3.938 kB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.3199, allocations: 7.922 kB / 1.218 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.924e-05/0.3199, allocations: 15.97 kB / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3201, allocations: 43.86 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3202, allocations: 19.92 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.3203, allocations: 11.94 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.3203, allocations: 23.91 kB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.3203, allocations: 4 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.3203, allocations: 8 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.3204, allocations: 8 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.3204, allocations: 15.86 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3205, allocations: 43.8 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3205, allocations: 0 / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3205, allocations: 4 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3205, allocations: 0 / 1.218 GB, free: 13.73 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.0005885/0.3211, allocations: 367.3 kB / 1.219 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3211, allocations: 12.03 kB / 1.219 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.3212, allocations: 8.891 kB / 1.219 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3213, allocations: 164.3 kB / 1.219 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3213, allocations: 4.312 kB / 1.219 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3213, allocations: 4.375 kB / 1.219 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.3216, allocations: 66.22 kB / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3216, allocations: 4.172 kB / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3216, allocations: 3.938 kB / 1.219 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3216, allocations: 8 kB / 1.219 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.3219, allocations: 55.94 kB / 1.219 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3223, allocations: 272.9 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.3225, allocations: 62.41 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.3227, allocations: 40.92 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3227, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.3227, allocations: 30.56 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.3227, allocations: 0 / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005379/0.3233, allocations: 133.5 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3233, allocations: 51.41 kB / 1.22 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3234, allocations: 113.8 kB / 1.22 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3234, allocations: 25.7 kB / 1.22 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.3235, allocations: 84.14 kB / 1.22 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3235, allocations: 15.89 kB / 1.22 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3236, allocations: 17.72 kB / 1.22 GB, free: 12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3237, allocations: 314.8 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3238, allocations: 31.95 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.324, allocations: 31.97 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.3242, allocations: 68.78 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3242, allocations: 3.938 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003147/0.3246, allocations: 97.56 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3246, allocations: 4 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3246, allocations: 7.938 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3246, allocations: 4 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3247, allocations: 11.98 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3247, allocations: 3.984 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.3248, allocations: 15.98 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3248, allocations: 336 / 1.22 GB, free: 11.4 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 8.856e-05/0.3249, allocations: 113.8 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3249, allocations: 3.953 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.325, allocations: 15.91 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.325, allocations: 3.984 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.325, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.325, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.3252, allocations: 181.6 kB / 1.221 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3252, allocations: 0 / 1.221 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.3253, allocations: 15.98 kB / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3253, allocations: 0 / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3253, allocations: 3.938 kB / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3253, allocations: 0 / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3253, allocations: 4 kB / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.3257, allocations: 199.3 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.3257, allocations: 89 kB / 1.221 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3257, allocations: 0 / 1.221 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3258, allocations: 11.98 kB / 1.221 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.3259, allocations: 7.984 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3259, allocations: 0 / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.326, allocations: 87.28 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.326, allocations: 0 / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002306/0.3262, allocations: 4 kB / 1.221 GB, free: 10.57 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.0001461/0.3263, allocations: 103.2 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.3267, allocations: 75.86 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3267, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.3268, allocations: 35.97 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3272, allocations: 9.969 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.3276, allocations: 155.1 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3279, allocations: 0.6807 MB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.328, allocations: 11.44 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.328, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of Templates: time 0.002412/0.3304, allocations: 0.7509 MB / 1.223 GB, free: 8.699 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/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