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.005952/0.005952, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001377/0.001377, allocations: 193.6 kB / 16.79 MB, free: 6.254 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 461.8 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 69.09 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3125, allocations: 157.4 MB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002343/0.3149, allocations: 0.7716 MB / 1.054 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.3159, allocations: 0.8001 MB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.3159, allocations: 4 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.316, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.3161, allocations: 7.875 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.703e-05/0.3161, allocations: 11.98 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.3162, allocations: 51.84 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3163, allocations: 11.98 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.3164, allocations: 11.92 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.3165, allocations: 23.92 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3165, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.3165, allocations: 4 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.3166, allocations: 3.984 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.3166, allocations: 15.88 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.053e-05/0.3167, allocations: 31.94 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3167, allocations: 4 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3167, allocations: 4 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.3167, allocations: 0 / 1.054 GB, free: 6.449 MB / 0.8106 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.0005699/0.3173, allocations: 359.6 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3173, allocations: 8.031 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.3174, allocations: 0.9375 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3175, allocations: 180.2 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3175, allocations: 4.375 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3176, allocations: 8.375 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3178, allocations: 66.16 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3178, allocations: 192 / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3179, allocations: 7.938 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3179, allocations: 4 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.3182, allocations: 63.92 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.3185, allocations: 264.9 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.3187, allocations: 66.41 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3189, allocations: 36.92 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3189, allocations: 0 / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3189, allocations: 34.56 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3189, allocations: 0 / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005098/0.3195, allocations: 133.5 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3195, allocations: 51.41 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.3196, allocations: 113.8 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3196, allocations: 25.7 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.3197, allocations: 88.14 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3197, allocations: 7.812 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3197, allocations: 17.66 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.3199, allocations: 322.8 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.32, allocations: 27.97 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.3202, allocations: 35.95 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.3204, allocations: 68.78 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.3204, allocations: 7.938 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003261/0.3208, allocations: 93.94 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3208, allocations: 8 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3208, allocations: 3.938 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3208, allocations: 0 / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.321, allocations: 15.98 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.321, allocations: 4 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.674e-05/0.3211, allocations: 7.984 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.3211, allocations: 4 kB / 1.057 GB, free: 4.125 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 8.342e-05/0.3212, allocations: 117.8 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.3212, allocations: 7.906 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.3212, allocations: 7.906 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3212, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3212, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3213, allocations: 4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3214, allocations: 165.6 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.3214, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3215, allocations: 19.97 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3215, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3216, allocations: 4 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3216, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3216, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.3219, allocations: 199.4 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.322, allocations: 88.94 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.322, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3221, allocations: 15.92 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.3221, allocations: 4 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3222, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.3222, allocations: 95.27 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3222, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000222/0.3224, allocations: 8 kB / 1.057 GB, free: 3.301 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.0001431/0.3226, allocations: 99.19 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.3229, allocations: 71.92 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3229, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.3231, allocations: 39.89 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3234, allocations: 13.14 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.3238, allocations: 164.8 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3241, allocations: 0.6809 MB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.3241, allocations: 7.438 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3241, allocations: 0 / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of Templates: time 0.00203/0.3261, allocations: 0.7345 MB / 1.059 GB, free: 1.434 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 -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