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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001081/0.001081, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 183.2 kB / 16.92 MB, free: 6.922 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.000396, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7942, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0009178/0.7952, allocations: 435.8 kB / 0.9561 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008039/0.796, allocations: 0.8055 MB / 0.9569 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.7961, allocations: 0 / 0.9569 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.7961, allocations: 3.984 kB / 0.9569 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.549e-05/0.7962, allocations: 5.375 kB / 0.9569 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.054e-05/0.7962, allocations: 9.047 kB / 0.957 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.7963, allocations: 40.98 kB / 0.957 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.7964, allocations: 9.125 kB / 0.957 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.7965, allocations: 17.17 kB / 0.957 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.7966, allocations: 16.77 kB / 0.957 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.7966, allocations: 2 kB / 0.957 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.7966, allocations: 2.062 kB / 0.957 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.7966, allocations: 12.92 kB / 0.957 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.7967, allocations: 40.56 kB / 0.9571 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.335e-05/0.7967, allocations: 33.45 kB / 0.9571 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7968, allocations: 1.438 kB / 0.9571 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7968, allocations: 0 / 0.9571 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.7968, allocations: 0 / 0.9571 GB, free: 6.602 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.0004692/0.7972, allocations: 364.4 kB / 0.9575 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.7973, allocations: 12.94 kB / 0.9575 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.7973, allocations: 7.188 kB / 0.9575 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.7974, allocations: 166.7 kB / 0.9576 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.7975, allocations: 1.594 kB / 0.9576 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.7975, allocations: 2.719 kB / 0.9576 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.7977, allocations: 84.67 kB / 0.9577 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.7978, allocations: 192 / 0.9577 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7978, allocations: 5 kB / 0.9577 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7978, allocations: 5.094 kB / 0.9577 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.7981, allocations: 94.33 kB / 0.9578 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.7985, allocations: 263 kB / 0.9581 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.7987, allocations: 75.09 kB / 0.9582 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.7989, allocations: 53.06 kB / 0.9582 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.7989, allocations: 0 / 0.9582 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.7989, allocations: 31.97 kB / 0.9582 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.7989, allocations: 3.938 kB / 0.9582 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005686/0.7995, allocations: 155.5 kB / 0.9584 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.7995, allocations: 55.41 kB / 0.9584 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.7996, allocations: 112.3 kB / 0.9585 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.7996, allocations: 25.7 kB / 0.9586 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.7996, allocations: 94.34 kB / 0.9587 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.7997, allocations: 8.969 kB / 0.9587 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.7997, allocations: 14.91 kB / 0.9587 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.7998, allocations: 312.2 kB / 0.959 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.7999, allocations: 46.8 kB / 0.959 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.8001, allocations: 44.22 kB / 0.9591 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.8004, allocations: 93.03 kB / 0.9592 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8004, allocations: 5.562 kB / 0.9592 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003229/0.8007, allocations: 116.6 kB / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8007, allocations: 4.719 kB / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8007, allocations: 0 / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.8008, allocations: 1.156 kB / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.8009, allocations: 22.25 kB / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.8009, allocations: 1.031 kB / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.801, allocations: 24.14 kB / 0.9593 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.801, allocations: 0 / 0.9593 GB, free: 4.621 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.671e-05/0.8011, allocations: 113.3 kB / 0.9594 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.8011, allocations: 5.812 kB / 0.9594 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.8011, allocations: 7.906 kB / 0.9594 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-06/0.8011, allocations: 9.828 kB / 0.9595 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8011, allocations: 0 / 0.9595 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.8012, allocations: 4 kB / 0.9595 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.8013, allocations: 172.8 kB / 0.9596 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8013, allocations: 1.812 kB / 0.9596 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.8014, allocations: 18.42 kB / 0.9596 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8014, allocations: 3.938 kB / 0.9596 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.8014, allocations: 1.75 kB / 0.9596 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8014, allocations: 0 / 0.9596 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8014, allocations: 3.984 kB / 0.9597 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.8018, allocations: 214.8 kB / 0.9599 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.8018, allocations: 86.77 kB / 0.9599 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.8018, allocations: 1.375 kB / 0.9599 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.8019, allocations: 14.98 kB / 0.96 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.802, allocations: 6.734 kB / 0.96 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.802, allocations: 1.375 kB / 0.96 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.802, allocations: 96.7 kB / 0.9601 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.802, allocations: 0 / 0.9601 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002132/0.8023, allocations: 6.875 kB / 0.9601 GB, free: 3.887 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.000133/0.8024, allocations: 101.1 kB / 0.9602 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.8028, allocations: 91.05 kB / 0.9602 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8028, allocations: 3.938 kB / 0.9602 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.8029, allocations: 46.22 kB / 0.9603 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.8032, allocations: 19.36 kB / 0.9603 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.8035, allocations: 156.3 kB / 0.9605 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.8037, allocations: 0.6915 MB / 0.9611 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.8037, allocations: 8.812 kB / 0.9611 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8037, allocations: 0 / 0.9611 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of Templates: time 0.002203/0.8059, allocations: 0.7268 MB / 0.9619 GB, free: 2.492 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/jenkins1/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