Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 111.6 kB / 15.99 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.001486/0.001486, allocations: 191 kB / 16.91 MB, free: 6.184 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.55/2.55, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 73.38 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2955, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001942/0.2975, allocations: 0.8343 MB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.2985, allocations: 0.8584 MB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.2986, allocations: 4 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.2986, allocations: 3.938 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.2987, allocations: 11.91 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.2989, allocations: 35.97 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.299, allocations: 75.84 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2991, allocations: 35.91 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.2992, allocations: 35.91 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.2993, allocations: 47.81 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2993, allocations: 8 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.2993, allocations: 8 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.2994, allocations: 19.92 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.2994, allocations: 47.72 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.722e-05/0.2995, allocations: 59.88 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2995, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2995, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2995, allocations: 0 / 1.066 GB, free: 13.02 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006244/0.3002, allocations: 391.5 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3002, allocations: 12.03 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3002, allocations: 8.844 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3004, allocations: 188.1 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3004, allocations: 384 / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.3004, allocations: 8.375 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.3008, allocations: 109.7 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.3008, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3008, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3008, allocations: 4 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.3012, allocations: 103.9 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.3017, allocations: 340.6 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.3023, allocations: 122.6 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.3025, allocations: 56.81 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3026, allocations: 7.938 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3026, allocations: 34.55 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3026, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006583/0.3033, allocations: 181.5 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3033, allocations: 51.41 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3034, allocations: 125.8 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3035, allocations: 29.7 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.3035, allocations: 96.05 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.3036, allocations: 19.73 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.3036, allocations: 25.7 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3038, allocations: 318.8 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.304, allocations: 43.95 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.3041, allocations: 55.89 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.3045, allocations: 96.77 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3045, allocations: 0 / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004026/0.3049, allocations: 137.5 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3049, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3049, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.305, allocations: 3.984 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.3051, allocations: 27.97 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3052, allocations: 4.484 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3053, allocations: 15.92 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3053, allocations: 4 kB / 1.069 GB, free: 10.21 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.439e-05/0.3054, allocations: 123.5 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.3054, allocations: 3.906 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.3055, allocations: 16.36 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3055, allocations: 3.984 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3055, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3055, allocations: 3.938 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.3057, allocations: 201.5 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3057, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3059, allocations: 27.97 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3059, allocations: 4 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3059, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3059, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3059, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.3064, allocations: 243.2 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.3065, allocations: 92.95 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3065, allocations: 4 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3066, allocations: 15.98 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.3067, allocations: 23.97 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.3067, allocations: 3.938 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.3068, allocations: 95.27 kB / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3068, allocations: 0 / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002277/0.3071, allocations: 16 kB / 1.07 GB, free: 9.262 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001123/0.3072, allocations: 103.2 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004195/0.3076, allocations: 107.8 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3076, allocations: 0 / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3078, allocations: 55.94 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3081, allocations: 14.06 kB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.3085, allocations: 223.9 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3089, allocations: 0.6924 MB / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.3089, allocations: 23.42 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.309, allocations: 0 / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of Templates: time 0.002712/0.3117, allocations: 1.227 MB / 1.072 GB, free: 6.762 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches