Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01489/0.01489, allocations: 101.3 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.002417/0.002417, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.564/1.564, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 73.84 kB / 0.9509 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3371, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001982/0.3391, allocations: 0.702 MB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000944/0.3401, allocations: 0.8044 MB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.3401, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.3402, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.128e-05/0.3403, allocations: 3.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.032e-05/0.3403, allocations: 7.984 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.775e-05/0.3404, allocations: 55.78 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3406, allocations: 8 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.3406, allocations: 15.98 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.3407, allocations: 27.84 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3407, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.3407, allocations: 4 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.3408, allocations: 4 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.3408, allocations: 19.92 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.644e-05/0.3409, allocations: 43.8 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3409, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3409, allocations: 3.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.3409, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 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.0005948/0.3415, allocations: 355.4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3416, allocations: 12.02 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.3416, allocations: 12.84 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3418, allocations: 164.3 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3418, allocations: 12.31 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3418, allocations: 4.375 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.3421, allocations: 66.22 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3421, allocations: 192 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3421, allocations: 7.938 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3421, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.3424, allocations: 67.92 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.3428, allocations: 260.9 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.343, allocations: 66.41 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3432, allocations: 32.92 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.3432, allocations: 4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3432, allocations: 34.56 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3432, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004971/0.3437, allocations: 129.6 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3438, allocations: 59.34 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.3439, allocations: 105.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3439, allocations: 29.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.3439, allocations: 84.14 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.344, allocations: 7.812 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.344, allocations: 21.7 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3442, allocations: 310.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3443, allocations: 35.97 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3444, allocations: 35.89 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.3447, allocations: 68.78 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3447, allocations: 3.938 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002801/0.345, allocations: 101.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.345, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.345, allocations: 48 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.345, allocations: 3.984 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3452, allocations: 15.98 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3452, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3453, allocations: 19.97 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-06/0.3454, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 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.0001066/0.3455, allocations: 115.8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.3455, allocations: 7.906 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.3455, allocations: 7.906 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3456, allocations: 3.938 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3456, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3456, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3458, allocations: 177.5 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3458, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.3459, allocations: 15.98 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3459, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3459, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3459, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3459, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.3463, allocations: 199.3 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.3463, allocations: 81.02 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3463, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3465, allocations: 15.98 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3465, allocations: 3.984 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.3465, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.3466, allocations: 87.28 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3466, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002089/0.3468, allocations: 8 kB / 1.092 GB, free: 12.56 MB / 0.8575 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.0001454/0.3469, allocations: 99.78 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.3473, allocations: 67.86 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3473, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3474, allocations: 39.89 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3477, allocations: 13.66 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.348, allocations: 133.6 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3483, allocations: 0.6807 MB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.3484, allocations: 4 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.3484, allocations: 11.44 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3484, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.002884/0.3513, allocations: 0.7062 MB / 1.094 GB, free: 10.76 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches