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.001033/0.001033, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001184/0.001184, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.018/1.018, allocations: 177.1 MB / 203.7 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.388/2.388, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 1.814e-06/1.814e-06, allocations: 0 / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.813e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001163/0.001181, allocations: 0.7182 MB / 0.8905 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.00191, allocations: 0.843 MB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.001946, allocations: 4 kB / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.001971, allocations: 3.938 kB / 0.8914 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.002033, allocations: 3.938 kB / 0.8914 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.298e-05/0.002086, allocations: 23.97 kB / 0.8914 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.233e-05/0.002148, allocations: 39.92 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.002232, allocations: 11.98 kB / 0.8914 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.002317, allocations: 27.91 kB / 0.8915 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.002348, allocations: 11.98 kB / 0.8915 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.002363, allocations: 7.938 kB / 0.8915 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.00237, allocations: 4 kB / 0.8915 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.002387, allocations: 11.92 kB / 0.8915 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.002408, allocations: 8 kB / 0.8915 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.287e-05/0.00248, allocations: 35.83 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002482, allocations: 8 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002483, allocations: 0 / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.002486, allocations: 0 / 0.8915 GB, free: 7.965 MB / 0.8542 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.0003063/0.002792, allocations: 376.5 kB / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.002827, allocations: 8.625 kB / 0.8919 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.002852, allocations: 12.88 kB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.27e-05/0.002915, allocations: 108.6 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.002923, allocations: 384 / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.00293, allocations: 4.359 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.992e-05/0.00303, allocations: 66.94 kB / 0.8921 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003037, allocations: 8.125 kB / 0.8921 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.003042, allocations: 384 / 0.8921 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.003049, allocations: 4.375 kB / 0.8921 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.003068, allocations: 7.938 kB / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.003283, allocations: 248.3 kB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.003333, allocations: 39.03 kB / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.00335, allocations: 11.75 kB / 0.8924 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.003358, allocations: 7.938 kB / 0.8924 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.003376, allocations: 33.39 kB / 0.8924 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.003377, allocations: 4 kB / 0.8924 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001041/0.003481, allocations: 45.72 kB / 0.8925 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.003504, allocations: 51.41 kB / 0.8925 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.897e-05/0.003563, allocations: 169.9 kB / 0.8927 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.003572, allocations: 25.7 kB / 0.8927 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.003612, allocations: 130.9 kB / 0.8928 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.003627, allocations: 7.906 kB / 0.8928 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.003654, allocations: 27.36 kB / 0.8929 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.00375, allocations: 496.1 kB / 0.8933 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.003762, allocations: 11.88 kB / 0.8934 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.003771, allocations: 0 / 0.8934 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.003796, allocations: 23.67 kB / 0.8934 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.003798, allocations: 0 / 0.8934 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.84e-05/0.003846, allocations: 37.7 kB / 0.8934 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.003857, allocations: 8 kB / 0.8934 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.00386, allocations: 0 / 0.8934 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.003871, allocations: 3.938 kB / 0.8934 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.003926, allocations: 11.98 kB / 0.8934 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.003929, allocations: 0 / 0.8934 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.003949, allocations: 11.92 kB / 0.8935 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.003953, allocations: 0 / 0.8935 GB, free: 5.801 MB / 0.8542 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 5.295e-05/0.004006, allocations: 160.6 kB / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.004018, allocations: 3.953 kB / 0.8936 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.004041, allocations: 8 kB / 0.8936 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.004044, allocations: 7.938 kB / 0.8936 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.004045, allocations: 0 / 0.8936 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.004047, allocations: 0 / 0.8936 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.237e-05/0.00413, allocations: 101.6 kB / 0.8937 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.00413, allocations: 0 / 0.8937 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.004156, allocations: 15.98 kB / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.004157, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.004161, allocations: 8 kB / 0.8937 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004161, allocations: 0 / 0.8937 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004162, allocations: 0 / 0.8937 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.797e-05/0.00425, allocations: 195.8 kB / 0.8939 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.004255, allocations: 3.953 kB / 0.8939 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.004264, allocations: 8 kB / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.0043, allocations: 8 kB / 0.8939 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.004325, allocations: 7.922 kB / 0.894 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.004327, allocations: 0 / 0.894 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.004361, allocations: 135.2 kB / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004361, allocations: 0 / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001281/0.004489, allocations: 8 kB / 0.8941 GB, free: 5.078 MB / 0.8542 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.607e-05/0.004555, allocations: 95.25 kB / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.828e-05/0.004614, allocations: 19.67 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.004615, allocations: 3.938 kB / 0.8942 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/0.004633, allocations: 19.62 kB / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.004798, allocations: 4 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.004992, allocations: 134.2 kB / 0.8944 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.702e-05/0.005019, allocations: 55.36 kB / 0.8944 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.005036, allocations: 0 / 0.8944 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.005089, allocations: 78.19 kB / 0.8945 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.005089, allocations: 0 / 0.8945 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of Templates: time 0.001919/0.007009, allocations: 0.8167 MB / 0.8953 GB, free: 3.801 MB / 0.8542 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.2779945051297545]