Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_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_10_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.000802/0.0008021, allocations: 92.55 kB / 16.02 MB, free: 80 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.0008506/0.0008506, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.8 MB / 0.7128 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003781, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.6644, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.0009509/0.6654, allocations: 402.2 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.6665, allocations: 0.8391 MB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.6665, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.6666, allocations: 3.938 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.62e-05/0.6667, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.6668, allocations: 11.98 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.6669, allocations: 23.92 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.667, allocations: 8 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.667, allocations: 3.938 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.6671, allocations: 11.98 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.6671, allocations: 3.984 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.6671, allocations: 4 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.6671, allocations: 3.938 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.6672, allocations: 25.7 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.368e-05/0.6672, allocations: 23.95 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6673, allocations: 4 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6673, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.6673, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 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.0004061/0.6677, allocations: 329.5 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6677, allocations: 19.95 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.6678, allocations: 4.875 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.6679, allocations: 164.4 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6679, allocations: 8.375 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.6679, allocations: 4.312 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.6681, allocations: 54.23 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6681, allocations: 4.172 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.6681, allocations: 3.938 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6681, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.6683, allocations: 47.95 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.6686, allocations: 244.9 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.6688, allocations: 54.44 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.6689, allocations: 24.89 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.6689, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.669, allocations: 38.56 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.669, allocations: 0 / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003739/0.6693, allocations: 93.64 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.6694, allocations: 51.41 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.6695, allocations: 109.9 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.6695, allocations: 25.7 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.6695, allocations: 80.14 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.6696, allocations: 15.83 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.6696, allocations: 9.719 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6697, allocations: 314.8 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.6698, allocations: 19.98 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.6699, allocations: 23.98 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.6701, allocations: 52.88 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6701, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002172/0.6703, allocations: 73.61 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6703, allocations: 7.984 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6703, allocations: 3.938 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6704, allocations: 4.031 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.6705, allocations: 16 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6705, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.6705, allocations: 7.984 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.6705, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.7794 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 8.385e-05/0.6706, allocations: 118.2 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.6707, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.6707, allocations: 7.125 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.6707, allocations: 7.984 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6707, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.6707, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.6709, allocations: 165.5 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6709, allocations: 3.938 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.671, allocations: 11.98 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.671, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.671, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.671, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.671, allocations: 8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.6713, allocations: 171.4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.6713, allocations: 85.14 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.6713, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.6714, allocations: 15.98 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.6715, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.6715, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.6715, allocations: 83.27 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6715, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002193/0.6718, allocations: 4 kB / 1.028 GB, free: 11.66 MB / 0.7794 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.0001356/0.6719, allocations: 103.2 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.6721, allocations: 39.97 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6721, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.6722, allocations: 39.97 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.6725, allocations: 9.156 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.6728, allocations: 130.6 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.6731, allocations: 0.677 MB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.6731, allocations: 7.438 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.6731, allocations: 4.062 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.001793/0.6749, allocations: 0.5336 MB / 1.029 GB, free: 10.05 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches