Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001495/0.001495, allocations: 106 kB / 15.99 MB, free: 6.355 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.00149/0.00149, allocations: 196.7 kB / 16.91 MB, free: 6.199 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 63.67 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.294, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002041/0.2961, allocations: 0.7261 MB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2972, allocations: 0.843 MB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.2972, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.2973, allocations: 3.938 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.2973, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.2975, allocations: 12 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.027e-05/0.2975, allocations: 27.92 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.119e-05/0.2976, allocations: 4 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.2977, allocations: 19.91 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.2977, allocations: 8 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2978, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.2978, allocations: 7.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.2978, allocations: 7.984 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.2978, allocations: 7.938 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.245e-05/0.2979, allocations: 11.97 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2979, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2979, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2979, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 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.0004493/0.2984, allocations: 337.4 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2984, allocations: 8.031 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.2984, allocations: 8.844 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2986, allocations: 168.3 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2986, allocations: 384 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2986, allocations: 384 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2988, allocations: 50.23 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2988, allocations: 192 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2988, allocations: 7.938 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2988, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.299, allocations: 31.95 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.2993, allocations: 240.9 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2994, allocations: 54.41 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.2995, allocations: 24.91 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2995, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2996, allocations: 30.56 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.2996, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003776/0.3, allocations: 85.73 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3, allocations: 55.34 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.3001, allocations: 105.8 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3001, allocations: 29.7 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.3002, allocations: 88.03 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.3002, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.3002, allocations: 17.72 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3004, allocations: 310.8 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.3005, allocations: 24 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.3006, allocations: 19.98 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.3007, allocations: 32.83 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3007, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001996/0.3009, allocations: 81.5 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3009, allocations: 7.938 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.301, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.301, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.619e-05/0.3011, allocations: 7.984 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3011, allocations: 0 / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.3011, allocations: 7.984 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3011, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 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.501e-05/0.3012, allocations: 124 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.3012, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.3013, allocations: 3.125 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3013, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3013, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.3013, allocations: 4 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.3015, allocations: 161.6 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3015, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.3015, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3015, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3016, allocations: 8 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3016, allocations: 3.984 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3016, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.3018, allocations: 163.4 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.3019, allocations: 85 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.3019, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.3019, allocations: 8.031 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.302, allocations: 11.92 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.302, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.302, allocations: 75.28 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3021, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002008/0.3023, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 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.0001358/0.3024, allocations: 99.25 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3026, allocations: 39.95 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3026, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.3027, allocations: 23.92 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.303, allocations: 7.938 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.3032, allocations: 135.4 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.3037, allocations: 0.6768 MB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.3037, allocations: 15.38 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3037, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of Templates: time 0.001832/0.3055, allocations: 0.5367 MB / 1.07 GB, free: 9.031 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches