Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_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_10_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.001612/0.001612, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001564/0.001564, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437.1 MB / 0.711 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 75.94 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2824, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001933/0.2844, allocations: 0.7081 MB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009206/0.2853, allocations: 0.804 MB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.2854, allocations: 0 / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.2854, allocations: 3.938 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.2855, allocations: 3.938 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.076e-05/0.2856, allocations: 15.98 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.2857, allocations: 47.8 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2858, allocations: 11.98 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.2859, allocations: 15.98 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.2859, allocations: 23.86 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2859, allocations: 7.938 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.2859, allocations: 4 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.286, allocations: 7.984 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.286, allocations: 19.86 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.569e-05/0.2861, allocations: 39.88 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2861, allocations: 4 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2861, allocations: 0 / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2861, allocations: 0 / 1.02 GB, free: 8.887 MB / 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.0005676/0.2867, allocations: 369.6 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2867, allocations: 12.92 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.2868, allocations: 0.9375 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2869, allocations: 172.2 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2869, allocations: 4.375 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.2869, allocations: 4.375 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2872, allocations: 74.14 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2872, allocations: 192 / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2872, allocations: 3.938 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2872, allocations: 0 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.2875, allocations: 67.92 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.2879, allocations: 261 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.2881, allocations: 58.41 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.2883, allocations: 48.91 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.2883, allocations: 0 / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2884, allocations: 30.56 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.2884, allocations: 0 / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005458/0.2889, allocations: 129.5 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.289, allocations: 55.41 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.2891, allocations: 109.8 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2891, allocations: 25.7 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.2891, allocations: 92.12 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.2892, allocations: 11.8 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.2892, allocations: 17.72 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2893, allocations: 314.8 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2895, allocations: 31.95 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.2896, allocations: 31.97 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.2899, allocations: 69.05 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.29, allocations: 11.88 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003288/0.2903, allocations: 93.62 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2903, allocations: 8 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2903, allocations: 0 / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2903, allocations: 3.938 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2905, allocations: 15.97 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2905, allocations: 8.25 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.2906, allocations: 15.98 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2906, allocations: 0 / 1.022 GB, free: 6.555 MB / 0.795 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 8.668e-05/0.2907, allocations: 113.8 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.2907, allocations: 3.906 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.2908, allocations: 11.91 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2908, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2908, allocations: 3.984 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2908, allocations: 4 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.291, allocations: 169.6 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.291, allocations: 4 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.2911, allocations: 15.98 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2911, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2911, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2911, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2911, allocations: 3.984 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.2915, allocations: 203.3 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.2916, allocations: 88.95 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2916, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2917, allocations: 11.98 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.2918, allocations: 3.984 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2918, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.2918, allocations: 91.28 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2918, allocations: 0 / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002185/0.2921, allocations: 7.984 kB / 1.022 GB, free: 5.734 MB / 0.795 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.0001319/0.2922, allocations: 99.25 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003619/0.2926, allocations: 75.92 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2926, allocations: 3.938 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.2927, allocations: 31.97 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.293, allocations: 15.86 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.2933, allocations: 151.3 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.2937, allocations: 0.6807 MB / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.2937, allocations: 7.438 kB / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.2937, allocations: 0 / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of Templates: time 0.002271/0.296, allocations: 0.746 MB / 1.024 GB, free: 3.867 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches