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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001244/0.001244, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001231/0.001231, allocations: 198.4 kB / 16.91 MB, free: 6.195 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 482.4 MB / 0.755 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 70.8 kB / 0.924 GB, free: 324 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.836/0.8382, allocations: 162.2 MB / 1.082 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001902/0.8401, allocations: 0.7772 MB / 1.083 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.841, allocations: 0.7939 MB / 1.084 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.841, allocations: 0 / 1.084 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.8411, allocations: 0 / 1.084 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.8411, allocations: 9.703 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.69e-05/0.8412, allocations: 12.75 kB / 1.084 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.443e-05/0.8413, allocations: 46.84 kB / 1.084 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.8414, allocations: 14.92 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.8415, allocations: 13.23 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.8415, allocations: 22.52 kB / 1.084 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.8415, allocations: 3.969 kB / 1.084 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.8416, allocations: 3.906 kB / 1.084 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.8416, allocations: 15.28 kB / 1.084 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.8416, allocations: 13.14 kB / 1.084 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.232e-05/0.8417, allocations: 33.27 kB / 1.084 GB, free: 468 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8417, allocations: 0 / 1.084 GB, free: 468 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8417, allocations: 0 / 1.084 GB, free: 468 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8417, allocations: 1.25 kB / 1.084 GB, free: 468 kB / 0.8262 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.0004792/0.8422, allocations: 358.6 kB / 1.084 GB, free: 96 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.8422, allocations: 14.02 kB / 1.084 GB, free: 92 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.8423, allocations: 15.34 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.8425, allocations: 164.5 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.8425, allocations: 1.5 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.8425, allocations: 2.531 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.8428, allocations: 72.03 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.8428, allocations: 0.7031 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.8428, allocations: 3.938 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8428, allocations: 1.094 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.8431, allocations: 66.41 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.8435, allocations: 271.4 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.8437, allocations: 67.16 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.8439, allocations: 36.75 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.8439, allocations: 1.688 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.8439, allocations: 31.36 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.844, allocations: 0 / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0006259/0.8446, allocations: 128.9 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.8447, allocations: 51.41 kB / 1.085 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.8448, allocations: 115.9 kB / 1.085 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.8448, allocations: 30.7 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.8449, allocations: 86 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.8449, allocations: 14.42 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.845, allocations: 17.03 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.8452, allocations: 317.8 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.8454, allocations: 31.09 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.8455, allocations: 31.36 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.8458, allocations: 70.64 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8458, allocations: 3.938 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003348/0.8461, allocations: 93.19 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.8462, allocations: 6.375 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8462, allocations: 0 / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.8462, allocations: 9.141 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.8464, allocations: 16.36 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.8464, allocations: 0 / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.44e-05/0.8465, allocations: 11.22 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.8465, allocations: 1.406 kB / 1.086 GB, free: 14.68 MB / 0.8419 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 0.0001043/0.8466, allocations: 120.4 kB / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.8466, allocations: 5.719 kB / 1.086 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.8467, allocations: 13.78 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8467, allocations: 1.125 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8467, allocations: 0.6094 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8467, allocations: 1.469 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.847, allocations: 170.1 kB / 1.086 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.847, allocations: 0.6562 kB / 1.086 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.8471, allocations: 16.59 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8471, allocations: 0 / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.8471, allocations: 4 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8471, allocations: 1.531 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8471, allocations: 4.984 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.8475, allocations: 197.7 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.8476, allocations: 82.2 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.8476, allocations: 3.297 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.8478, allocations: 13.91 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.8478, allocations: 7.734 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.8478, allocations: 1.156 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.262e-05/0.8479, allocations: 92.16 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8479, allocations: 0 / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002195/0.8482, allocations: 6.469 kB / 1.087 GB, free: 13.99 MB / 0.8419 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.000181/0.8483, allocations: 97.89 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.8487, allocations: 70.75 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8487, allocations: 4.562 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.8489, allocations: 38.88 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.8493, allocations: 12.58 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.8497, allocations: 160.8 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.8501, allocations: 0.6795 MB / 1.088 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.8501, allocations: 14.03 kB / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.8501, allocations: 0 / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of Templates: time 0.002708/0.8528, allocations: 0.7572 MB / 1.089 GB, free: 12.96 MB / 0.8419 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=400 -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