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.001943/0.001943, 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.002197/0.002197, allocations: 198.5 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.469/1.469, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 482.2 MB / 0.7548 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 75.41 kB / 0.9238 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8729/0.8751, allocations: 162.2 MB / 1.082 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001951/0.8771, allocations: 0.7734 MB / 1.083 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007827/0.8779, allocations: 0.802 MB / 1.084 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.878, allocations: 1.062 kB / 1.084 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.878, allocations: 0.7969 kB / 1.084 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.8781, allocations: 5.125 kB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.775e-05/0.8782, allocations: 12.08 kB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.318e-05/0.8782, allocations: 47.36 kB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.8784, allocations: 6.75 kB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.8784, allocations: 21.55 kB / 1.084 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.8785, allocations: 17.86 kB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.8785, allocations: 3.625 kB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.8785, allocations: 3.5 kB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.8785, allocations: 15.97 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.8786, allocations: 21.38 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.918e-05/0.8786, allocations: 28.78 kB / 1.084 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8787, allocations: 0.5 kB / 1.084 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8787, allocations: 0.9062 kB / 1.084 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8787, allocations: 0 / 1.084 GB, free: 0.5625 MB / 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.0004393/0.8791, allocations: 359.1 kB / 1.084 GB, free: 204 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.8792, allocations: 13.44 kB / 1.084 GB, free: 200 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.8792, allocations: 7.594 kB / 1.084 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.8793, allocations: 167.7 kB / 1.084 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.8793, allocations: 6.578 kB / 1.084 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.8793, allocations: 2.281 kB / 1.084 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.8796, allocations: 68.45 kB / 1.084 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.8796, allocations: 192 / 1.084 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.8796, allocations: 4.812 kB / 1.084 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8797, allocations: 0 / 1.084 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.8799, allocations: 74.78 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.8803, allocations: 263.5 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.8805, allocations: 58.92 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.8807, allocations: 41.14 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.8807, allocations: 0.5 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.8808, allocations: 35.81 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.8808, allocations: 0.5 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005313/0.8813, allocations: 132.3 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.8814, allocations: 51.41 kB / 1.085 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.8815, allocations: 108 kB / 1.085 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.8815, allocations: 26.39 kB / 1.085 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.8815, allocations: 91.27 kB / 1.085 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.8816, allocations: 18.3 kB / 1.085 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.8816, allocations: 21.16 kB / 1.085 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8818, allocations: 313.5 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.8819, allocations: 31.03 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.8821, allocations: 35.12 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.8824, allocations: 70.34 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8824, allocations: 3.938 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003131/0.8827, allocations: 94.55 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.8827, allocations: 4.344 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8827, allocations: 1.406 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.8827, allocations: 0 / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.8829, allocations: 19.75 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8829, allocations: 1.094 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.883, allocations: 11.25 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.883, allocations: 2.062 kB / 1.086 GB, free: 14.79 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 8.824e-05/0.8831, allocations: 124.4 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.8831, allocations: 5.031 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.8831, allocations: 9.656 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8832, allocations: 5.578 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8832, allocations: 0 / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8832, allocations: 1.75 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.8834, allocations: 166.7 kB / 1.086 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.8834, allocations: 4 kB / 1.086 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.8835, allocations: 19.31 kB / 1.086 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8835, allocations: 1.156 kB / 1.086 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.8835, allocations: 0 / 1.086 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8835, allocations: 2.375 kB / 1.086 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8835, allocations: 0 / 1.086 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.8839, allocations: 193.6 kB / 1.086 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.8839, allocations: 83.08 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.884, allocations: 1.594 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8841, allocations: 14.77 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.8841, allocations: 16.08 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.8841, allocations: 1.891 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.398e-05/0.8842, allocations: 91.5 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8842, allocations: 0 / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000215/0.8844, allocations: 6.562 kB / 1.087 GB, free: 14.1 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.0001267/0.8845, allocations: 98.27 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.8849, allocations: 72 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8849, allocations: 0 / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.8851, allocations: 38.31 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.8854, allocations: 17.11 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.8857, allocations: 165.6 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.8861, allocations: 0.6787 MB / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.8862, allocations: 9.812 kB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.8862, allocations: 0 / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.002454/0.8886, allocations: 0.7436 MB / 1.088 GB, free: 13.07 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=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