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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001165/0.001165, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001199/0.001199, allocations: 187 kB / 17.34 MB, free: 5.742 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 71.89 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/0.7511, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001907/0.753, allocations: 0.6961 MB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009234/0.754, allocations: 0.7923 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.7541, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.7541, allocations: 3.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.7542, allocations: 7.922 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.176e-05/0.7543, allocations: 11.98 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.3e-05/0.7544, allocations: 47.84 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.7545, allocations: 19.98 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.7546, allocations: 15.92 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.7546, allocations: 23.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.7546, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.7547, allocations: 4 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.7547, allocations: 15.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.7547, allocations: 11.94 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.815e-05/0.7548, allocations: 35.86 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7548, allocations: 7.938 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.016e-06/0.7548, allocations: 4 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7548, allocations: 3.938 kB / 1.21 GB, free: 11.88 MB / 0.9356 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.0005339/0.7554, allocations: 367.2 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.7554, allocations: 8.031 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.7555, allocations: 12.83 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.7556, allocations: 162.2 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.7556, allocations: 4.375 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.7556, allocations: 4.375 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.7559, allocations: 74.14 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.7559, allocations: 192 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.7559, allocations: 3.938 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7559, allocations: 4 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.7562, allocations: 63.92 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.7565, allocations: 264.9 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.7567, allocations: 66.41 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.7569, allocations: 32.92 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.7569, allocations: 7.984 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.7569, allocations: 34.56 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.7569, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005253/0.7575, allocations: 121.6 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.7575, allocations: 55.41 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.7576, allocations: 113.8 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.7576, allocations: 29.7 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.7577, allocations: 92.03 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.7577, allocations: 11.84 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.7577, allocations: 13.72 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.7578, allocations: 314.8 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.758, allocations: 39.95 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.7581, allocations: 23.97 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.7584, allocations: 72.78 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7584, allocations: 3.938 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003079/0.7587, allocations: 97.62 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.7587, allocations: 4 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.7588, allocations: 3.938 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.7588, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.7589, allocations: 23.97 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.7589, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.759, allocations: 19.92 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.759, allocations: 0 / 1.212 GB, free: 9.555 MB / 0.9356 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 6.907e-05/0.7591, allocations: 113.8 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.7591, allocations: 7.906 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.7591, allocations: 7.844 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7591, allocations: 336 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7592, allocations: 3.984 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.7592, allocations: 0 / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.7593, allocations: 173.6 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7593, allocations: 4 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.289e-05/0.7594, allocations: 15.98 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7594, allocations: 0 / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.7594, allocations: 0 / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.7594, allocations: 0 / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7595, allocations: 4 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.7598, allocations: 203.3 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.7599, allocations: 81.02 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.7599, allocations: 0 / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.76, allocations: 11.98 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.76, allocations: 7.984 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.76, allocations: 4 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.7601, allocations: 79.28 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7601, allocations: 4 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002141/0.7603, allocations: 12 kB / 1.213 GB, free: 8.73 MB / 0.9356 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.0001129/0.7604, allocations: 99.23 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.7608, allocations: 67.92 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7608, allocations: 0 / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.7609, allocations: 39.91 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.7612, allocations: 11.92 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.7615, allocations: 155.2 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.7617, allocations: 0.6807 MB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.7618, allocations: 7.438 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.7618, allocations: 4 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of Templates: time 0.001923/0.7637, allocations: 0.7503 MB / 1.215 GB, free: 6.859 MB / 0.9356 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