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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 113.2 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 191.2 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 64.94 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3765, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002967/0.3795, allocations: 0.7105 MB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3809, allocations: 0.8064 MB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.381, allocations: 0 / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.381, allocations: 3.938 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.3811, allocations: 15.91 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.721e-05/0.3812, allocations: 11.98 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.622e-05/0.3813, allocations: 43.86 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3814, allocations: 11.98 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.3815, allocations: 15.92 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.3816, allocations: 23.92 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3816, allocations: 4 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.3817, allocations: 4 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.3817, allocations: 7.984 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.3817, allocations: 19.88 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3818, allocations: 39.86 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3819, allocations: 0 / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3819, allocations: 0 / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.3819, allocations: 0 / 1.028 GB, free: 328 kB / 0.795 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.0006426/0.3825, allocations: 364.6 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3826, allocations: 8.031 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3826, allocations: 8.844 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3828, allocations: 172.3 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3828, allocations: 4.375 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.3828, allocations: 384 / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.3832, allocations: 74.2 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3832, allocations: 4.188 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3832, allocations: 3.938 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3832, allocations: 0 / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.3836, allocations: 71.86 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.3841, allocations: 264.8 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.3843, allocations: 62.47 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3846, allocations: 36.92 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3846, allocations: 7.984 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3846, allocations: 30.56 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.664e-06/0.3846, allocations: 0 / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0008004/0.3855, allocations: 133.5 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.3855, allocations: 51.41 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3857, allocations: 109.8 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3857, allocations: 25.7 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.3858, allocations: 88.12 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.3858, allocations: 11.81 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.3859, allocations: 17.66 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.386, allocations: 314.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.3862, allocations: 35.95 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.3864, allocations: 27.97 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.3868, allocations: 72.78 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3869, allocations: 3.938 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004688/0.3873, allocations: 101.6 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3874, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3874, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3874, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.3876, allocations: 23.97 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3876, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.3878, allocations: 11.98 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3878, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 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.97e-05/0.3879, allocations: 113.7 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.388, allocations: 7.906 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.388, allocations: 7.906 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.388, allocations: 0 / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.388, allocations: 8 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3881, allocations: 3.984 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.3883, allocations: 173.6 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3883, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.3885, allocations: 11.98 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3885, allocations: 3.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3886, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3886, allocations: 7.938 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3886, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.3891, allocations: 199.4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.3892, allocations: 84.95 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3893, allocations: 4 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3895, allocations: 11.98 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.3895, allocations: 7.984 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3895, allocations: 4 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.3896, allocations: 83.28 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3896, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004003/0.3901, allocations: 8 kB / 1.031 GB, free: 13.17 MB / 0.8106 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.0001707/0.3902, allocations: 107.2 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.3908, allocations: 72.23 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3908, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.3911, allocations: 31.97 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.3915, allocations: 15.86 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.392, allocations: 129.7 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3923, allocations: 0.6846 MB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.488e-05/0.3923, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.3924, allocations: 11.44 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.3924, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of Templates: time 0.003879/0.3963, allocations: 0.6801 MB / 1.033 GB, free: 11.38 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches