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.001381/0.001381, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.001549/0.001549, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.08 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.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7641, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002466/0.7666, allocations: 0.7733 MB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.7677, allocations: 0.8586 MB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.7678, allocations: 1.094 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.7678, allocations: 9.281 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.7679, allocations: 14.36 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.7681, allocations: 34 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.7682, allocations: 90.52 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.7683, allocations: 26.06 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.7685, allocations: 35.98 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.539e-05/0.7686, allocations: 49.25 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.7686, allocations: 8.281 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.06e-05/0.7686, allocations: 8.031 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.7686, allocations: 26.67 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.7687, allocations: 40.09 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.7689, allocations: 90.98 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.7689, allocations: 0 / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7689, allocations: 0 / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.7689, allocations: 1.094 kB / 1.091 GB, free: 4.145 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.0005825/0.7695, allocations: 392.6 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.7695, allocations: 9.609 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.7696, allocations: 12.53 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.7697, allocations: 178.9 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.7697, allocations: 3.344 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.7697, allocations: 8 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.7701, allocations: 104.8 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.7701, allocations: 5.25 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.7701, allocations: 0.6875 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.7701, allocations: 1.781 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.7705, allocations: 101.8 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.771, allocations: 341 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.7717, allocations: 125.1 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.7719, allocations: 59.12 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.7719, allocations: 1.734 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.772, allocations: 31.88 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.772, allocations: 0 / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006922/0.7727, allocations: 186 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.7727, allocations: 52.34 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.7728, allocations: 124.1 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.7728, allocations: 30.45 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.7728, allocations: 93.05 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.7729, allocations: 27.64 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.7729, allocations: 24.45 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.773, allocations: 318.6 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.7732, allocations: 43.75 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.7734, allocations: 52.69 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.7737, allocations: 100.6 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7738, allocations: 0 / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004322/0.7742, allocations: 134.8 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.7742, allocations: 5.25 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.7742, allocations: 4.078 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.7742, allocations: 5.5 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.7744, allocations: 28.11 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.7744, allocations: 4.828 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.7746, allocations: 16.06 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.7746, allocations: 7 kB / 1.093 GB, free: 2.191 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 7.1e-05/0.7747, allocations: 114.3 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.7747, allocations: 7.281 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.7747, allocations: 15.3 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7748, allocations: 0.6875 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7748, allocations: 1.391 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7748, allocations: 4.688 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.775, allocations: 198 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.775, allocations: 0.8125 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.7752, allocations: 27.56 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.7752, allocations: 1.062 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.7752, allocations: 6.812 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7752, allocations: 4 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7752, allocations: 0.875 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.7756, allocations: 230.8 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.7757, allocations: 83.08 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.7757, allocations: 2.25 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.7759, allocations: 19.89 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.776, allocations: 24.84 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.776, allocations: 3.125 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.776, allocations: 93.22 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.776, allocations: 0 / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002445/0.7763, allocations: 20.69 kB / 1.094 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.0001079/0.7764, allocations: 106.1 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.7769, allocations: 107.3 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7769, allocations: 0.7188 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.7771, allocations: 62.42 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.7774, allocations: 13.33 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.7778, allocations: 197 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.778, allocations: 0.6942 MB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.778, allocations: 16.72 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.778, allocations: 0 / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of Templates: time 0.003125/0.7812, allocations: 1.253 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/jenkins1/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