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.001036/0.001036, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001342/0.001342, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.545/1.545, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.158/3.158, allocations: 483.1 MB / 0.7564 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004922, allocations: 16.72 kB / 0.9275 GB, free: 29.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4062, allocations: 164.5 MB / 1.088 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001/0.4073, allocations: 435.5 kB / 1.089 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.4084, allocations: 0.804 MB / 1.089 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.4085, allocations: 0 / 1.089 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.4085, allocations: 7.984 kB / 1.089 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.4086, allocations: 7.938 kB / 1.089 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.017e-05/0.4087, allocations: 7.984 kB / 1.089 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.894e-05/0.4088, allocations: 39.86 kB / 1.089 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4089, allocations: 15.98 kB / 1.089 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.409, allocations: 15.98 kB / 1.089 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.409, allocations: 19.86 kB / 1.089 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.4091, allocations: 4 kB / 1.089 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-06/0.4091, allocations: 4 kB / 1.089 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.4091, allocations: 3.984 kB / 1.089 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.4092, allocations: 37.64 kB / 1.089 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.4093, allocations: 43.8 kB / 1.09 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4093, allocations: 3.938 kB / 1.09 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4093, allocations: 0 / 1.09 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.4093, allocations: 3.938 kB / 1.09 GB, free: 8.914 MB / 0.8419 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.0006175/0.4099, allocations: 367.7 kB / 1.09 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.41, allocations: 8.031 kB / 1.09 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.41, allocations: 12.83 kB / 1.09 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.4102, allocations: 168.3 kB / 1.09 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4102, allocations: 4.375 kB / 1.09 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.4102, allocations: 4.375 kB / 1.09 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.4105, allocations: 78.22 kB / 1.09 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4106, allocations: 192 / 1.09 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4106, allocations: 7.938 kB / 1.09 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4106, allocations: 0 / 1.09 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.4109, allocations: 91.86 kB / 1.09 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.4114, allocations: 268.9 kB / 1.091 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.4116, allocations: 70.47 kB / 1.091 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.4118, allocations: 48.92 kB / 1.091 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.4118, allocations: 0 / 1.091 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4119, allocations: 30.56 kB / 1.091 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.4119, allocations: 0 / 1.091 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000625/0.4125, allocations: 165.5 kB / 1.091 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.4126, allocations: 55.41 kB / 1.091 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.4127, allocations: 109.8 kB / 1.091 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4127, allocations: 25.7 kB / 1.091 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.4128, allocations: 88.14 kB / 1.091 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.4128, allocations: 7.812 kB / 1.091 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.4128, allocations: 13.7 kB / 1.091 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.413, allocations: 322.8 kB / 1.091 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4132, allocations: 35.97 kB / 1.091 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.4133, allocations: 43.95 kB / 1.091 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.4137, allocations: 100.7 kB / 1.092 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.4137, allocations: 3.938 kB / 1.092 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003732/0.4141, allocations: 113.6 kB / 1.092 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4141, allocations: 11.94 kB / 1.092 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4141, allocations: 0 / 1.092 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4141, allocations: 0 / 1.092 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.4143, allocations: 23.98 kB / 1.092 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4143, allocations: 0 / 1.092 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.4144, allocations: 15.98 kB / 1.092 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4144, allocations: 0 / 1.092 GB, free: 6.438 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.000103/0.4145, allocations: 121.8 kB / 1.092 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.4145, allocations: 4.234 kB / 1.092 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.4146, allocations: 7.906 kB / 1.092 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4146, allocations: 7.984 kB / 1.092 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4146, allocations: 3.938 kB / 1.092 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.4146, allocations: 0 / 1.092 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.4148, allocations: 177.5 kB / 1.092 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4148, allocations: 3.984 kB / 1.092 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.4149, allocations: 19.98 kB / 1.092 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4149, allocations: 0 / 1.092 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4149, allocations: 4 kB / 1.092 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4149, allocations: 0 / 1.092 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4149, allocations: 0 / 1.092 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.4154, allocations: 215.4 kB / 1.092 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.4154, allocations: 88.94 kB / 1.092 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.4155, allocations: 4 kB / 1.092 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4156, allocations: 15.98 kB / 1.092 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.4156, allocations: 4 kB / 1.092 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.4156, allocations: 3.984 kB / 1.092 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.4157, allocations: 87.28 kB / 1.092 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 0 / 1.092 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002172/0.4159, allocations: 4 kB / 1.092 GB, free: 5.582 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.0001638/0.4161, allocations: 109.4 kB / 1.093 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.4165, allocations: 87.92 kB / 1.093 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.4165, allocations: 4 kB / 1.093 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.4167, allocations: 47.95 kB / 1.093 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.417, allocations: 7.938 kB / 1.093 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.4173, allocations: 140.6 kB / 1.093 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.4177, allocations: 0.6848 MB / 1.094 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.4177, allocations: 4 kB / 1.094 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.4178, allocations: 7.438 kB / 1.094 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.4178, allocations: 0 / 1.094 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of Templates: time 0.002944/0.4207, allocations: 0.5393 MB / 1.094 GB, free: 3.906 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/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