Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.01041/0.01041, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.559/1.559, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.933/2.933, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003905, allocations: 12.31 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3958, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001322/0.3972, allocations: 400.5 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3988, allocations: 0.843 MB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.3989, allocations: 3.938 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.399, allocations: 0 / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3991, allocations: 3.984 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.3994, allocations: 12 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3995, allocations: 19.92 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3997, allocations: 15.98 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.289e-05/0.3998, allocations: 7.938 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.3999, allocations: 7.984 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.3999, allocations: 0 / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.3999, allocations: 0 / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.4, allocations: 7.938 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.4001, allocations: 33.69 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.4002, allocations: 19.91 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4003, allocations: 0 / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.426e-06/0.4003, allocations: 4 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.4003, allocations: 0 / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006284/0.4009, allocations: 335.8 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.401, allocations: 8.031 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.401, allocations: 4.938 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.4012, allocations: 176.2 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.4013, allocations: 384 / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.4013, allocations: 8.375 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.4015, allocations: 58.22 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4016, allocations: 192 / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4016, allocations: 3.938 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4016, allocations: 0 / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.4018, allocations: 47.95 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.4024, allocations: 244.9 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.4026, allocations: 50.48 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.4027, allocations: 24.91 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.4027, allocations: 7.938 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.4028, allocations: 34.5 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4028, allocations: 4 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004813/0.4033, allocations: 97.58 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.4034, allocations: 51.41 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.4035, allocations: 101.8 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4036, allocations: 29.83 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.4036, allocations: 88.14 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.4037, allocations: 3.906 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.4037, allocations: 9.719 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4039, allocations: 310.8 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.404, allocations: 23.98 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.4041, allocations: 23.97 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.4043, allocations: 48.83 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4043, allocations: 4.062 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002912/0.4046, allocations: 85.53 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.4047, allocations: 4 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4047, allocations: 0 / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4047, allocations: 0 / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4048, allocations: 16.02 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.4048, allocations: 4 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.4049, allocations: 4 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.4049, allocations: 0 / 1.062 GB, free: 1.945 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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.0001073/0.405, allocations: 117.8 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.4051, allocations: 3.906 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.4051, allocations: 7.125 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4051, allocations: 8 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4051, allocations: 0 / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4051, allocations: 4 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4053, allocations: 157.6 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4054, allocations: 0 / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.4054, allocations: 11.98 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.4054, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.4055, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4055, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4055, allocations: 4 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.4058, allocations: 179.3 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.4059, allocations: 77.11 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.4059, allocations: 12.02 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.406, allocations: 8 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.406, allocations: 0 / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.406, allocations: 3.984 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00011/0.4062, allocations: 79.47 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.51e-07/0.4062, allocations: 3.938 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002214/0.4064, allocations: 4 kB / 1.063 GB, free: 1.188 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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.0002228/0.4066, allocations: 99.25 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.4069, allocations: 55.89 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4069, allocations: 0 / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.407, allocations: 24.05 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4073, allocations: 9.906 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.4077, allocations: 119.4 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4081, allocations: 0.677 MB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.4082, allocations: 4.125 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.4082, allocations: 11.5 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of SimCode: time 6.31e-07/0.4082, allocations: 0 / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of Templates: time 0.003292/0.4115, allocations: 360.2 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches