Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009686/0.009686, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.002148/0.002148, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.473/2.473, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 63.89 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002237/1.075, allocations: 0.7717 MB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001214/1.076, allocations: 0.8634 MB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/1.077, allocations: 1.062 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/1.077, allocations: 5.203 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/1.077, allocations: 9.969 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/1.077, allocations: 42.7 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/1.077, allocations: 86.66 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/1.077, allocations: 27.02 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/1.077, allocations: 35.52 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/1.077, allocations: 53.44 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/1.077, allocations: 7.531 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/1.077, allocations: 7.844 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/1.077, allocations: 19.55 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/1.078, allocations: 39.19 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/1.078, allocations: 86.19 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.078, allocations: 1.062 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.288e-06/1.078, allocations: 4 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.078, allocations: 3.938 kB / 1.09 GB, free: 4.16 MB / 0.8575 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.0006109/1.078, allocations: 396.4 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.078, allocations: 10.28 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/1.078, allocations: 12.73 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/1.079, allocations: 178.6 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/1.079, allocations: 3.25 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/1.079, allocations: 8.5 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/1.079, allocations: 109 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.079, allocations: 0 / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.079, allocations: 1.891 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.079, allocations: 5.031 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/1.079, allocations: 97.45 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/1.08, allocations: 344.9 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/1.081, allocations: 118.2 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/1.081, allocations: 66.89 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/1.081, allocations: 0.7969 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/1.081, allocations: 36.31 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/1.081, allocations: 0 / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0008632/1.082, allocations: 182.2 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/1.082, allocations: 52.91 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.082, allocations: 123.7 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/1.082, allocations: 26.3 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/1.082, allocations: 101.9 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/1.082, allocations: 19.52 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/1.082, allocations: 23.05 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.237e-05/1.082, allocations: 315.1 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/1.082, allocations: 56.33 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/1.083, allocations: 48.66 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/1.083, allocations: 96.33 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.083, allocations: 4.875 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004587/1.084, allocations: 133.5 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.084, allocations: 6.188 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.084, allocations: 0 / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.084, allocations: 1.609 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/1.084, allocations: 24.16 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/1.084, allocations: 4 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/1.084, allocations: 28.8 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/1.084, allocations: 6.594 kB / 1.092 GB, free: 2.195 MB / 0.8575 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.086e-05/1.084, allocations: 113.7 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/1.084, allocations: 3.875 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/1.084, allocations: 11.2 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.084, allocations: 1.547 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.084, allocations: 0 / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.084, allocations: 9.391 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/1.084, allocations: 201.3 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.084, allocations: 0.9688 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/1.085, allocations: 23.61 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.085, allocations: 0.9688 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/1.085, allocations: 6.172 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/1.085, allocations: 5.422 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.085, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/1.085, allocations: 234.8 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/1.085, allocations: 89.02 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/1.085, allocations: 0.7812 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/1.085, allocations: 15.66 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/1.085, allocations: 24.97 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.086, allocations: 4.047 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.617e-05/1.086, allocations: 97.08 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.532e-06/1.086, allocations: 0 / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002416/1.086, allocations: 19.64 kB / 1.093 GB, free: 1.477 MB / 0.8575 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.0001291/1.086, allocations: 103.6 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000478/1.086, allocations: 111.2 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.086, allocations: 0 / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/1.087, allocations: 60.75 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/1.087, allocations: 9.797 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/1.088, allocations: 175 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/1.088, allocations: 0.6934 MB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.254e-05/1.088, allocations: 12 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/1.088, allocations: 25.27 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of SimCode: time 1.012e-06/1.088, allocations: 0 / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of Templates: time 0.005539/1.093, allocations: 1.584 MB / 1.096 GB, free: 364 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches