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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002504/0.002504, allocations: 201.4 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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 0.002032/0.002032, allocations: 67.91 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7951/0.7972, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001971/0.7991, allocations: 0.7044 MB / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000955/0.8001, allocations: 0.8078 MB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.8001, allocations: 4 kB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.8002, allocations: 7.875 kB / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.654e-05/0.8002, allocations: 11.92 kB / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.506e-05/0.8003, allocations: 11.98 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.26e-05/0.8004, allocations: 47.84 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.8005, allocations: 4 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.8006, allocations: 19.98 kB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.8006, allocations: 15.92 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.8006, allocations: 4 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.8006, allocations: 11.88 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.8007, allocations: 7.984 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.8007, allocations: 15.94 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.8008, allocations: 50.45 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8008, allocations: 4 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8008, allocations: 0 / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8008, allocations: 0 / 1.276 GB, free: 2.801 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.0005611/0.8014, allocations: 359.3 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.8014, allocations: 12.03 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.8014, allocations: 8.891 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.8016, allocations: 172.3 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.8016, allocations: 384 / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.8016, allocations: 12.38 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.8018, allocations: 62.22 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8018, allocations: 192 / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.8019, allocations: 7.938 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8019, allocations: 3.938 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.8022, allocations: 67.92 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.8025, allocations: 264.9 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.8027, allocations: 54.48 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.8029, allocations: 40.91 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.8029, allocations: 4 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.8029, allocations: 34.5 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.8029, allocations: 0 / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005406/0.8035, allocations: 121.8 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.8035, allocations: 59.39 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.8036, allocations: 105.9 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.8036, allocations: 29.7 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.8037, allocations: 84.12 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.8037, allocations: 19.84 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.8037, allocations: 9.719 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8039, allocations: 322.8 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.804, allocations: 31.97 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.8042, allocations: 35.89 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.8045, allocations: 72.72 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.8045, allocations: 7.875 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000322/0.8048, allocations: 97.62 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8048, allocations: 4 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8048, allocations: 3.984 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8048, allocations: 0 / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.8049, allocations: 15.98 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.8049, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.805, allocations: 19.94 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.805, allocations: 0 / 1.278 GB, free: 484 kB / 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 9.136e-05/0.8051, allocations: 122.2 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.8051, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.8052, allocations: 7.891 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.8052, allocations: 4 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8052, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8052, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.8054, allocations: 173.6 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8054, allocations: 4 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.8055, allocations: 11.98 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.8055, allocations: 3.984 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.8055, allocations: 8 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.8055, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8055, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.8059, allocations: 199.5 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.8059, allocations: 77.11 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.8059, allocations: 4 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8061, allocations: 15.91 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.8061, allocations: 8 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.8061, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.8061, allocations: 83.58 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8061, allocations: 8 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002176/0.8064, allocations: 8 kB / 1.279 GB, free: 15.65 MB / 0.9825 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.00014/0.8065, allocations: 99.25 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.8069, allocations: 63.92 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8069, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.807, allocations: 43.89 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.8073, allocations: 13.67 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.8076, allocations: 141.4 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.8079, allocations: 0.6806 MB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.808, allocations: 11.98 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.808, allocations: 7.438 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.808, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of Templates: time 0.003173/0.8112, allocations: 0.6902 MB / 1.28 GB, free: 13.85 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.7822235818021]