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.001866/0.001866, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002257/0.002257, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.703/1.703, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 3.243/3.243, allocations: 389 MB / 0.633 GB, free: 1.035 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 3.086e-06/3.086e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.49e-05, allocations: 2.281 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002306/0.002341, allocations: 0.7009 MB / 1.001 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003676, allocations: 0.8198 MB / 1.002 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.003728, allocations: 0 / 1.002 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.003772, allocations: 3.938 kB / 1.002 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.003855, allocations: 11.88 kB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 9.092e-05/0.003946, allocations: 19.95 kB / 1.002 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.004059, allocations: 43.86 kB / 1.002 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.004195, allocations: 7.938 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.004315, allocations: 31.91 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.004365, allocations: 15.98 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.004394, allocations: 4 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.004404, allocations: 4 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.004429, allocations: 7.984 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.004464, allocations: 11.94 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.00459, allocations: 43.91 kB / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.004593, allocations: 0 / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004594, allocations: 0 / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.004599, allocations: 0 / 1.002 GB, free: 5.52 MB / 0.9512 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.0006559/0.005255, allocations: 286.3 kB / 1.002 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.005301, allocations: 8.031 kB / 1.002 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.005338, allocations: 8.891 kB / 1.002 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.005476, allocations: 117.7 kB / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.005492, allocations: 384 / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.005514, allocations: 8.312 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.005802, allocations: 70.16 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.005812, allocations: 192 / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005823, allocations: 4.375 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.005828, allocations: 384 / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.00614, allocations: 67.86 kB / 1.002 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.006556, allocations: 208.6 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.006794, allocations: 58.47 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.006962, allocations: 44.91 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.006978, allocations: 0 / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.007009, allocations: 30.56 kB / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.007011, allocations: 0 / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006113/0.007622, allocations: 133.5 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.007669, allocations: 51.41 kB / 1.003 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.00778, allocations: 113.8 kB / 1.003 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.007797, allocations: 25.7 kB / 1.003 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.007861, allocations: 88.09 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.00789, allocations: 19.88 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.007932, allocations: 17.7 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.008083, allocations: 310.8 kB / 1.003 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.008236, allocations: 27.97 kB / 1.004 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.00838, allocations: 39.95 kB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.008673, allocations: 64.78 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008675, allocations: 0 / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000369/0.009044, allocations: 105.6 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.009067, allocations: 14.28 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.009073, allocations: 0 / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.00909, allocations: 0 / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.009228, allocations: 19.92 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.009234, allocations: 4 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.009313, allocations: 7.984 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.009327, allocations: 7.984 kB / 1.004 GB, free: 3.422 MB / 0.9512 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.324e-05/0.00942, allocations: 109.8 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.009449, allocations: 4 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.009479, allocations: 11.94 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.00948, allocations: 0 / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.009485, allocations: 3.938 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009488, allocations: 0 / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.009632, allocations: 109.3 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009633, allocations: 0 / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.009739, allocations: 15.98 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.009743, allocations: 3.984 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.009756, allocations: 8 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.009759, allocations: 3.938 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00976, allocations: 0 / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.01018, allocations: 195.4 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.01019, allocations: 4 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.01021, allocations: 0 / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.01032, allocations: 23.84 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.01038, allocations: 8.375 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.01039, allocations: 4 kB / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.01045, allocations: 87.27 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.01045, allocations: 0 / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002229/0.01067, allocations: 8 kB / 1.004 GB, free: 2.773 MB / 0.9512 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.0001489/0.01082, allocations: 95.23 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.0112, allocations: 75.91 kB / 1.004 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.0112, allocations: 0 / 1.004 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.01137, allocations: 39.89 kB / 1.005 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.01173, allocations: 7.938 kB / 1.005 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.01224, allocations: 132.7 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.01234, allocations: 67.34 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.01239, allocations: 7.984 kB / 1.005 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.01243, allocations: 8.5 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of SimCode: time 7.62e-07/0.01243, allocations: 0 / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of Templates: time 0.004648/0.01708, allocations: 0.7261 MB / 1.005 GB, free: 1.574 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.036421310156584]