Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_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_10_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.01351/0.01351, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.002643/0.002643, allocations: 199.3 kB / 16.67 MB, free: 6.352 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.7/1.7, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.004/3.004, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4054, allocations: 151.6 MB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002809/0.4083, allocations: 0.7833 MB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.4102, allocations: 0.8663 MB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.4104, allocations: 4 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.92e-05/0.4104, allocations: 7.875 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.4106, allocations: 7.875 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.4108, allocations: 35.95 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.411, allocations: 91.75 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.4111, allocations: 27.98 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.4113, allocations: 35.91 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.4114, allocations: 51.81 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.4115, allocations: 8 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.4115, allocations: 8 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.4116, allocations: 15.92 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.4116, allocations: 39.78 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.4119, allocations: 91.59 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4119, allocations: 3.938 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4119, allocations: 4 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.4119, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 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.0008889/0.4128, allocations: 391.1 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4129, allocations: 8.031 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.4129, allocations: 12.89 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.4131, allocations: 180.3 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.4132, allocations: 384 / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4132, allocations: 8.375 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.4135, allocations: 113.5 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4136, allocations: 0 / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4136, allocations: 0 / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.4136, allocations: 4 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.414, allocations: 95.91 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.4147, allocations: 344.6 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.4154, allocations: 122.5 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.4156, allocations: 60.81 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.4156, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4156, allocations: 38.55 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.465e-06/0.4157, allocations: 7.922 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006862/0.4163, allocations: 181.5 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.4164, allocations: 55.41 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.4165, allocations: 129.7 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.4166, allocations: 25.7 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.4166, allocations: 92.09 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.4167, allocations: 31.77 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.4168, allocations: 25.66 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4169, allocations: 314.8 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.4171, allocations: 51.95 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.4173, allocations: 43.95 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.4177, allocations: 97.23 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4177, allocations: 4 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004359/0.4181, allocations: 137.5 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.4182, allocations: 8 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4182, allocations: 0 / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4183, allocations: 0 / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.4184, allocations: 23.97 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4185, allocations: 4 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.4186, allocations: 23.91 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4186, allocations: 0 / 1.171 GB, free: 1.879 MB / 0.92 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 0.000102/0.4187, allocations: 117.8 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.4187, allocations: 7.953 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.4188, allocations: 12.36 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.4188, allocations: 4 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4188, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4188, allocations: 7.938 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.4191, allocations: 193.6 kB / 1.171 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.4191, allocations: 4 kB / 1.171 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.4192, allocations: 27.91 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4192, allocations: 3.984 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4193, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4193, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4193, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.4199, allocations: 239.3 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.4199, allocations: 89 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.42, allocations: 0 / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4201, allocations: 15.98 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.4202, allocations: 23.91 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.4202, allocations: 4 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001181/0.4203, allocations: 99.2 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.855e-06/0.4203, allocations: 4 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002339/0.4206, allocations: 15.88 kB / 1.172 GB, free: 0.9336 MB / 0.92 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.0001336/0.4207, allocations: 103.2 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004745/0.4212, allocations: 103.9 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4212, allocations: 4 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.4214, allocations: 67.86 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.4218, allocations: 8 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.4222, allocations: 175.6 kB / 1.172 GB, free: 456 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.4227, allocations: 0.6924 MB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.087e-05/0.4228, allocations: 11.98 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.4228, allocations: 27.42 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.4229, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of Templates: time 0.004599/0.4275, allocations: 1.584 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches