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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00165/0.00165, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001791/0.001791, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.437/2.437, allocations: 437 MB / 0.711 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 72.45 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2974, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002398/0.2999, allocations: 0.6536 MB / 1.019 GB, free: 9.941 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.301, allocations: 0.8468 MB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.3011, allocations: 0 / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.3011, allocations: 4 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.732e-05/0.3013, allocations: 3.938 kB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.3015, allocations: 15.98 kB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.637e-05/0.3016, allocations: 23.92 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3017, allocations: 7.984 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.3018, allocations: 11.94 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.3018, allocations: 7.984 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3018, allocations: 0 / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.3019, allocations: 4 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.3019, allocations: 11.94 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.3019, allocations: 11.92 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.808e-05/0.302, allocations: 19.91 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3021, allocations: 4 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3021, allocations: 0 / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.3021, allocations: 0 / 1.02 GB, free: 8.957 MB / 0.795 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.000499/0.3026, allocations: 331.8 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3026, allocations: 8.625 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.3027, allocations: 8.844 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3028, allocations: 172.3 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3028, allocations: 384 / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3029, allocations: 384 / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3031, allocations: 54.22 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3031, allocations: 192 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3031, allocations: 3.938 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3031, allocations: 4 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.3033, allocations: 35.95 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3037, allocations: 252.9 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.3038, allocations: 46.47 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.163e-05/0.3039, allocations: 24.91 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3039, allocations: 0 / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.304, allocations: 34.56 kB / 1.02 GB, free: 7.836 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.304, allocations: 0 / 1.02 GB, free: 7.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.000364/0.3043, allocations: 85.58 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.3044, allocations: 51.41 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.3045, allocations: 97.84 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.3045, allocations: 37.83 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.3045, allocations: 80.14 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.3046, allocations: 3.906 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.3046, allocations: 13.72 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3047, allocations: 314.8 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.3048, allocations: 15.97 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.3049, allocations: 19.98 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3051, allocations: 36.89 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3051, allocations: 0 / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002141/0.3053, allocations: 77.44 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3053, allocations: 4 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3053, allocations: 0 / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3053, allocations: 8.031 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.3054, allocations: 7.984 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3055, allocations: 0 / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.3055, allocations: 7.984 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3055, allocations: 0 / 1.021 GB, free: 6.93 MB / 0.795 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.956e-05/0.3056, allocations: 124.1 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3057, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.3057, allocations: 3.125 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3057, allocations: 0 / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3057, allocations: 4 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3057, allocations: 4 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.3059, allocations: 161.6 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3059, allocations: 0 / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.306, allocations: 4 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.306, allocations: 0 / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.306, allocations: 7.938 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.306, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.306, allocations: 3.984 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3062, allocations: 167.4 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.3063, allocations: 81.09 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3063, allocations: 0 / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.3064, allocations: 4 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.3065, allocations: 3.984 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3065, allocations: 8 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.3065, allocations: 87.48 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3065, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002174/0.3067, allocations: 4 kB / 1.022 GB, free: 6.184 MB / 0.795 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.0001739/0.3069, allocations: 99.25 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.3071, allocations: 43.89 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3072, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.3072, allocations: 24.05 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3075, allocations: 7.938 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.3079, allocations: 137.4 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3082, allocations: 0.6768 MB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.3082, allocations: 7.438 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of SimCode: time 3.9e-07/0.3082, allocations: 0 / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of Templates: time 0.001925/0.3102, allocations: 0.5449 MB / 1.023 GB, free: 4.586 MB / 0.795 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