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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001648/0.001648, allocations: 100.1 kB / 15.88 MB, free: 12 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.001984/0.001984, allocations: 196 kB / 16.79 MB, free: 6.809 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.432/1.432, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.757/2.757, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.86 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2958, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.00217/0.2981, allocations: 0.7222 MB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009584/0.299, allocations: 0.843 MB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.2991, allocations: 3.938 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.07e-05/0.2992, allocations: 3.938 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.2993, allocations: 4 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.2995, allocations: 15.98 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.2995, allocations: 23.92 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.329e-05/0.2996, allocations: 4 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.2997, allocations: 15.92 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.2997, allocations: 4 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2998, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-06/0.2998, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.2998, allocations: 11.92 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.2998, allocations: 4 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.433e-05/0.2999, allocations: 23.95 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2999, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.91e-07/0.2999, allocations: 3.938 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2999, allocations: 0 / 1.054 GB, free: 6.598 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.0004428/0.3004, allocations: 331.8 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3004, allocations: 15.97 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.3005, allocations: 8.844 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3006, allocations: 168.3 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3006, allocations: 8.375 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.3006, allocations: 384 / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3008, allocations: 50.23 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3008, allocations: 192 / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3008, allocations: 3.938 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3008, allocations: 0 / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.301, allocations: 35.95 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.3014, allocations: 244.9 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3015, allocations: 46.47 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.3016, allocations: 20.91 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3016, allocations: 7.984 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3016, allocations: 34.56 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3017, allocations: 0 / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003462/0.302, allocations: 85.58 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3021, allocations: 51.41 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.418e-05/0.3021, allocations: 97.84 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3021, allocations: 25.7 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3022, allocations: 88.27 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3022, allocations: 7.906 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3023, allocations: 9.719 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3024, allocations: 314.8 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.3025, allocations: 19.97 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.3025, allocations: 19.92 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3027, allocations: 40.89 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3027, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/0.3029, allocations: 77.44 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3029, allocations: 4 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.303, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.303, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.3031, allocations: 11.98 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3031, allocations: 7.969 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.3031, allocations: 7.984 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3031, allocations: 0 / 1.056 GB, free: 4.562 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 7.02e-05/0.3032, allocations: 113.8 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.3032, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.3033, allocations: 7.125 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3033, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3033, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3033, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3035, allocations: 165.6 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3035, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.3035, allocations: 8 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3036, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3036, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3036, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3036, allocations: 3.984 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.3038, allocations: 171.4 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.3039, allocations: 81.09 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3039, allocations: 4 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.304, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.304, allocations: 7.984 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.304, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.3041, allocations: 83.28 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3041, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002147/0.3043, allocations: 8.031 kB / 1.057 GB, free: 3.832 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.00013/0.3044, allocations: 95.25 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3046, allocations: 39.95 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3046, allocations: 3.938 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.3047, allocations: 15.98 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.305, allocations: 13.62 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.3053, allocations: 147.4 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3055, allocations: 0.677 MB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.3055, allocations: 11.38 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.3056, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of Templates: time 0.001876/0.3074, allocations: 0.5281 MB / 1.058 GB, free: 2.242 MB / 0.8106 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/jenkins1/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