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.001402/0.001402, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001402/0.001402, allocations: 168.9 kB / 24.86 MB, free: 9.27 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 0.9985/0.9985, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.862/1.862, allocations: 359 MB / 0.6063 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 178] 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.936e-06/2.936e-06, allocations: 0 / 0.7884 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.09e-05, allocations: 8.844 kB / 0.7884 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00205/0.00208, allocations: 0.7087 MB / 0.7891 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003188, allocations: 0.8483 MB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.003231, allocations: 1 kB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.003262, allocations: 3.938 kB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.062e-05/0.003352, allocations: 16.45 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.778e-05/0.00342, allocations: 12.7 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.003506, allocations: 39.86 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003607, allocations: 12.73 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.003692, allocations: 19.98 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.003738, allocations: 21 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.003757, allocations: 4 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.003766, allocations: 4 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.003787, allocations: 10.8 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.00381, allocations: 11.94 kB / 0.7901 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.082e-05/0.003901, allocations: 27.91 kB / 0.7901 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003904, allocations: 4 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003905, allocations: 0 / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.003911, allocations: 3.984 kB / 0.7901 GB, free: 10.43 MB / 0.7448 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.0003918/0.004303, allocations: 376.6 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.004342, allocations: 9.438 kB / 0.7905 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.004373, allocations: 8.891 kB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.506e-05/0.004469, allocations: 116.5 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.004478, allocations: 0.9688 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.004486, allocations: 384 / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.00462, allocations: 67.84 kB / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004628, allocations: 192 / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004636, allocations: 1.125 kB / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.004641, allocations: 4.312 kB / 0.7906 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.866e-05/0.00467, allocations: 9.469 kB / 0.7907 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.00496, allocations: 248.3 kB / 0.7909 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.005032, allocations: 35.05 kB / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.005054, allocations: 12.94 kB / 0.7909 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.005064, allocations: 4 kB / 0.7909 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.005086, allocations: 33.39 kB / 0.791 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005087, allocations: 0.5312 kB / 0.791 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001518/0.005239, allocations: 52.16 kB / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.005271, allocations: 51.41 kB / 0.7911 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.005355, allocations: 169.9 kB / 0.7912 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.005368, allocations: 25.7 kB / 0.7913 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.005421, allocations: 138.8 kB / 0.7914 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.00544, allocations: 3.953 kB / 0.7914 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.005482, allocations: 27.36 kB / 0.7914 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.005627, allocations: 496.6 kB / 0.7919 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.005647, allocations: 8.719 kB / 0.7919 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/0.005662, allocations: 192 / 0.7919 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/0.005703, allocations: 24.28 kB / 0.7919 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005705, allocations: 0 / 0.7919 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.299e-05/0.005798, allocations: 47.22 kB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.005813, allocations: 8 kB / 0.792 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005817, allocations: 0 / 0.792 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.005827, allocations: 3.938 kB / 0.792 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.005893, allocations: 12.61 kB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.005895, allocations: 0 / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.005933, allocations: 8.672 kB / 0.792 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.005938, allocations: 0.6875 kB / 0.792 GB, free: 8.277 MB / 0.7448 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 7.585e-05/0.006014, allocations: 153.5 kB / 0.7922 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.006038, allocations: 4 kB / 0.7922 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.006061, allocations: 8 kB / 0.7922 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.006065, allocations: 9.312 kB / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.006067, allocations: 0 / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.00607, allocations: 0 / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.006204, allocations: 101.2 kB / 0.7923 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006205, allocations: 1.812 kB / 0.7923 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.00625, allocations: 23.86 kB / 0.7923 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.006252, allocations: 0 / 0.7923 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.006259, allocations: 4 kB / 0.7923 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006261, allocations: 0.875 kB / 0.7923 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.006262, allocations: 0 / 0.7923 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.006405, allocations: 191.8 kB / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.006412, allocations: 0.8438 kB / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.006424, allocations: 4 kB / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.006487, allocations: 9.688 kB / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.006522, allocations: 7.922 kB / 0.7925 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.006526, allocations: 0 / 0.7925 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.006572, allocations: 127.2 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006572, allocations: 4.844 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000235/0.006807, allocations: 4 kB / 0.7926 GB, free: 7.586 MB / 0.7448 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.0001116/0.006919, allocations: 101.5 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.236e-05/0.007001, allocations: 19.61 kB / 0.7927 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007002, allocations: 4 kB / 0.7928 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.007029, allocations: 11.69 kB / 0.7928 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.007302, allocations: 6.125 kB / 0.7928 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.007596, allocations: 142.1 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.007638, allocations: 55.86 kB / 0.793 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.007669, allocations: 6.422 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.007733, allocations: 74.2 kB / 0.793 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.007734, allocations: 3.938 kB / 0.793 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.002972/0.01071, allocations: 0.8292 MB / 0.7938 GB, free: 6.312 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] 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","",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.060482400935143]