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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001429, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.494/1.494, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002352, allocations: 66.27 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5243, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002282/0.5266, allocations: 0.7003 MB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.5278, allocations: 0.8139 MB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.5279, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.5279, allocations: 3.938 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.528, allocations: 3.938 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.558e-05/0.5281, allocations: 11.98 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.5282, allocations: 43.86 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.5284, allocations: 7.984 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.594e-05/0.5285, allocations: 23.92 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.5286, allocations: 27.84 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.5286, allocations: 4 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.5286, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.5286, allocations: 7.984 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.5287, allocations: 15.94 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.5288, allocations: 43.81 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5288, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5288, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.5289, allocations: 0 / 1.07 GB, free: 8.648 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.0005921/0.5295, allocations: 363.7 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5295, allocations: 12.03 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.5295, allocations: 8.781 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.5297, allocations: 168.3 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.5297, allocations: 384 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.5297, allocations: 4.375 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.53, allocations: 70.2 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.53, allocations: 192 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.53, allocations: 11.94 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5301, allocations: 0 / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.5303, allocations: 67.86 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.5307, allocations: 264.9 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.5309, allocations: 62.47 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.5311, allocations: 36.92 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.5311, allocations: 3.984 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5312, allocations: 34.5 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.5312, allocations: 4 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005291/0.5317, allocations: 121.6 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.5318, allocations: 55.41 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.5318, allocations: 109.8 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.5319, allocations: 25.7 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.5319, allocations: 96.03 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.532, allocations: 7.906 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.532, allocations: 9.719 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5321, allocations: 318.8 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5323, allocations: 31.95 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.5324, allocations: 39.91 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.5327, allocations: 69.05 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5327, allocations: 3.938 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003063/0.533, allocations: 101.6 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.533, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.533, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5331, allocations: 4 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.5332, allocations: 15.97 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.5332, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.5333, allocations: 11.98 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.5333, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 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.102e-05/0.5334, allocations: 126.2 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.5334, allocations: 3.906 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.5335, allocations: 11.91 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5335, allocations: 0 / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5335, allocations: 0 / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5335, allocations: 3.984 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.5336, allocations: 165.6 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5336, allocations: 3.938 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.469e-05/0.5337, allocations: 19.98 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5338, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5338, allocations: 8 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5338, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5338, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.5341, allocations: 191.4 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.5342, allocations: 88.95 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.5342, allocations: 4 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.5343, allocations: 11.98 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.5344, allocations: 11.92 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5344, allocations: 0 / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.5344, allocations: 87.28 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.5344, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002105/0.5346, allocations: 4 kB / 1.073 GB, free: 5.5 MB / 0.8262 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.0001466/0.5348, allocations: 107.2 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.5352, allocations: 67.92 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5352, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.5353, allocations: 35.91 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.5356, allocations: 21.02 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.536, allocations: 129.3 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.5362, allocations: 0.6846 MB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.5363, allocations: 8 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.5363, allocations: 7.438 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.5363, allocations: 0 / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of Templates: time 0.002619/0.5389, allocations: 0.6839 MB / 1.074 GB, free: 3.711 MB / 0.8262 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