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.006388/0.006388, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001299/0.0013, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 472.6 MB / 0.7453 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.84 kB / 1.07 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3986, allocations: 159.9 MB / 1.226 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002357/0.4011, allocations: 0.719 MB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.4022, allocations: 0.7884 MB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.4023, allocations: 0 / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.4023, allocations: 3.938 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.4024, allocations: 7.922 kB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.145e-05/0.4025, allocations: 19.97 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.784e-05/0.4026, allocations: 39.86 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4027, allocations: 15.98 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.4028, allocations: 15.94 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.4029, allocations: 31.78 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.4029, allocations: 4 kB / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.403, allocations: 4 kB / 1.227 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.403, allocations: 4 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.403, allocations: 15.92 kB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.4031, allocations: 47.8 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4032, allocations: 4 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4032, allocations: 0 / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.4032, allocations: 0 / 1.227 GB, free: 7.371 MB / 0.9825 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.0005726/0.4038, allocations: 367.2 kB / 1.228 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4038, allocations: 8.031 kB / 1.228 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.4039, allocations: 8.891 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.404, allocations: 164.4 kB / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.404, allocations: 384 / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.404, allocations: 4.375 kB / 1.228 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.4043, allocations: 74.16 kB / 1.228 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4043, allocations: 192 / 1.228 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4043, allocations: 3.938 kB / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4043, allocations: 3.984 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.4046, allocations: 63.94 kB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.405, allocations: 264.9 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.4052, allocations: 62.47 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.4054, allocations: 40.86 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.4054, allocations: 4 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.4054, allocations: 30.56 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/0.4055, allocations: 3.984 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005335/0.406, allocations: 125.6 kB / 1.229 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.406, allocations: 55.41 kB / 1.229 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.4062, allocations: 117.8 kB / 1.229 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.4062, allocations: 25.7 kB / 1.229 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.4062, allocations: 80.14 kB / 1.229 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.4063, allocations: 23.83 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.4063, allocations: 9.719 kB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4065, allocations: 318.8 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.4066, allocations: 39.89 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.4067, allocations: 31.91 kB / 1.229 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.407, allocations: 68.78 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.407, allocations: 3.938 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003141/0.4073, allocations: 97.62 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4074, allocations: 5.562 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4074, allocations: 0 / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4074, allocations: 0 / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4075, allocations: 19.92 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4075, allocations: 3.938 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.4076, allocations: 23.92 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.4076, allocations: 0 / 1.229 GB, free: 5.035 MB / 0.9825 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 7.797e-05/0.4077, allocations: 117.8 kB / 1.23 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.4077, allocations: 0 / 1.23 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.4078, allocations: 3.906 kB / 1.23 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.4078, allocations: 4 kB / 1.23 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4078, allocations: 0 / 1.23 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4078, allocations: 0 / 1.23 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.408, allocations: 177.6 kB / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.408, allocations: 4 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4081, allocations: 11.98 kB / 1.23 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4081, allocations: 8 kB / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.4081, allocations: 0 / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4082, allocations: 0 / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4082, allocations: 0 / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.4085, allocations: 207.3 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.4086, allocations: 77.11 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.4086, allocations: 4 kB / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4087, allocations: 7.984 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.4088, allocations: 11.98 kB / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4088, allocations: 0 / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.4088, allocations: 87.28 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/0.4088, allocations: 4 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002157/0.409, allocations: 4 kB / 1.23 GB, free: 4.215 MB / 0.9825 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.000163/0.4092, allocations: 107.2 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.4096, allocations: 64.3 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4096, allocations: 0 / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.4097, allocations: 47.84 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.41, allocations: 7.938 kB / 1.23 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.4104, allocations: 129.4 kB / 1.23 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.4107, allocations: 0.6807 MB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.4107, allocations: 11.98 kB / 1.231 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.4108, allocations: 11.44 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4108, allocations: 0 / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of Templates: time 0.002854/0.4136, allocations: 0.6811 MB / 1.232 GB, free: 2.426 MB / 0.9825 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/jenkins/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