Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00183/0.001831, allocations: 198.5 kB / 16.26 MB, free: 6.625 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.509/2.509, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8765/0.878, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001803/0.8798, allocations: 0.7635 MB / 0.9499 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.8806, allocations: 0.8083 MB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.8806, allocations: 1.219 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.8807, allocations: 0 / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.8807, allocations: 5.312 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.212e-05/0.8808, allocations: 9.609 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.8809, allocations: 41.05 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.881, allocations: 13.03 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.8811, allocations: 17.38 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.8811, allocations: 25.03 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.8812, allocations: 4.812 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.8812, allocations: 2.5 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.8812, allocations: 9.312 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.8812, allocations: 23.95 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.85e-05/0.8813, allocations: 35.34 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8813, allocations: 0 / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8813, allocations: 0 / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8813, allocations: 0 / 0.9508 GB, free: 7.707 MB / 0.7169 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.0004726/0.8818, allocations: 370.2 kB / 0.9512 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8819, allocations: 8.875 kB / 0.9512 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.8819, allocations: 3.312 kB / 0.9512 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.118e-05/0.882, allocations: 170.8 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.882, allocations: 5.875 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.882, allocations: 1.875 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.8822, allocations: 74.88 kB / 0.9514 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8823, allocations: 4.172 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.8823, allocations: 9.469 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8823, allocations: 0 / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.8825, allocations: 63.78 kB / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.8829, allocations: 259.8 kB / 0.9518 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.883, allocations: 63.31 kB / 0.9518 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.8832, allocations: 35.45 kB / 0.9519 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.8832, allocations: 5.391 kB / 0.9519 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.8832, allocations: 31.72 kB / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.943e-06/0.8832, allocations: 4 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004761/0.8837, allocations: 136.9 kB / 0.952 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.8837, allocations: 52.69 kB / 0.9521 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.8838, allocations: 106.9 kB / 0.9522 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.8838, allocations: 26.95 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.8839, allocations: 89.36 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.8839, allocations: 13.08 kB / 0.9523 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.8839, allocations: 13.81 kB / 0.9523 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.884, allocations: 314.8 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.8841, allocations: 33.48 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.8843, allocations: 33.56 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.8845, allocations: 71.09 kB / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8845, allocations: 3.938 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000277/0.8848, allocations: 101.5 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8848, allocations: 5.625 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8848, allocations: 0 / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.8849, allocations: 0 / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.885, allocations: 14.36 kB / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.885, allocations: 5.359 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.8851, allocations: 10.98 kB / 0.9529 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.8851, allocations: 0 / 0.9529 GB, free: 5.738 MB / 0.7169 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.499e-05/0.8852, allocations: 120.5 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.8852, allocations: 1.469 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.8852, allocations: 9.125 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8852, allocations: 1.219 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8852, allocations: 7.938 kB / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.8853, allocations: 5.031 kB / 0.953 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.8854, allocations: 169.3 kB / 0.9532 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8854, allocations: 0 / 0.9532 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.8855, allocations: 18.08 kB / 0.9532 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8855, allocations: 4 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.8855, allocations: 1.188 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8855, allocations: 3.938 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8855, allocations: 1.281 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.8858, allocations: 195.2 kB / 0.9534 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.8859, allocations: 82.3 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.8859, allocations: 1.406 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.886, allocations: 14.23 kB / 0.9535 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.8861, allocations: 5.797 kB / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.8861, allocations: 1.375 kB / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.8861, allocations: 86.06 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8861, allocations: 3.938 kB / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002126/0.8863, allocations: 6.188 kB / 0.9536 GB, free: 5.008 MB / 0.7169 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.0001408/0.8865, allocations: 106 kB / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.8868, allocations: 67.67 kB / 0.9537 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8868, allocations: 0 / 0.9537 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.8869, allocations: 36.11 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.8873, allocations: 17.77 kB / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.8876, allocations: 143.8 kB / 0.9539 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.8878, allocations: 0.6835 MB / 0.9546 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.8878, allocations: 5.062 kB / 0.9546 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.8878, allocations: 8.781 kB / 0.9546 GB, free: 4 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.8878, allocations: 0 / 0.9546 GB, free: 4 MB / 0.7169 GB Notification: Performance of Templates: time 0.002625/0.8905, allocations: 0.5784 MB / 0.9552 GB, free: 3.707 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches