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.006426/0.006426, allocations: 97.73 kB / 15.73 MB, free: 5.988 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.00146/0.00146, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.625/2.625, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9408, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001907/0.9427, allocations: 0.7757 MB / 1.221 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.9437, allocations: 0.8662 MB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.9438, allocations: 4 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.9438, allocations: 3.938 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.9439, allocations: 7.875 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.944, allocations: 43.94 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.9441, allocations: 83.77 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.9443, allocations: 23.98 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.216e-05/0.9444, allocations: 39.83 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.9444, allocations: 51.83 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.9445, allocations: 8 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.9445, allocations: 8 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.9445, allocations: 19.91 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.9446, allocations: 35.84 kB / 1.223 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.9447, allocations: 91.12 kB / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.9447, allocations: 0 / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9447, allocations: 0 / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.9447, allocations: 0 / 1.223 GB, free: 56 kB / 0.9356 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.0006571/0.9454, allocations: 396.1 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.9454, allocations: 12.03 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.9454, allocations: 8.891 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.9456, allocations: 176.3 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.9456, allocations: 8.375 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.9456, allocations: 4.375 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.9459, allocations: 109.5 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9459, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.9459, allocations: 4 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9459, allocations: 4 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.9463, allocations: 99.83 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.9469, allocations: 344.6 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.9475, allocations: 114.6 kB / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.9477, allocations: 56.8 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.9477, allocations: 11.98 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.9477, allocations: 30.56 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.9477, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006462/0.9484, allocations: 189.4 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.9484, allocations: 55.41 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.9485, allocations: 129.8 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.9485, allocations: 25.7 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.9486, allocations: 96.03 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.9486, allocations: 19.84 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.9487, allocations: 25.7 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.9488, allocations: 314.8 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.9489, allocations: 47.95 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.9491, allocations: 47.95 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.9494, allocations: 97.23 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.9494, allocations: 0 / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003926/0.9498, allocations: 145.5 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9499, allocations: 4 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.9499, allocations: 3.984 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9499, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.9501, allocations: 27.97 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.9501, allocations: 0 / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.9502, allocations: 23.86 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.9502, allocations: 4 kB / 1.225 GB, free: 13.25 MB / 0.9512 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.201e-05/0.9503, allocations: 113.8 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.9503, allocations: 3.953 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.9504, allocations: 16.36 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.9504, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.9504, allocations: 7.938 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.9504, allocations: 3.938 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.9506, allocations: 197.6 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9506, allocations: 4 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.9508, allocations: 27.97 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9508, allocations: 3.938 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.9508, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9508, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9508, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.9512, allocations: 239.3 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.9513, allocations: 85.06 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.9513, allocations: 7.938 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.9514, allocations: 15.97 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.9515, allocations: 27.86 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.9515, allocations: 0 / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.9516, allocations: 99.64 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9516, allocations: 4 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002413/0.9518, allocations: 16 kB / 1.226 GB, free: 12.29 MB / 0.9512 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.0001432/0.952, allocations: 99.23 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.9524, allocations: 95.91 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9524, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.9526, allocations: 71.88 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.9529, allocations: 9.875 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.9533, allocations: 182 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.9536, allocations: 0.6924 MB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.061e-05/0.9536, allocations: 8 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.9537, allocations: 23.42 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of SimCode: time 4.3e-07/0.9537, allocations: 4 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of Templates: time 0.003891/0.9576, allocations: 1.58 MB / 1.229 GB, free: 9.484 MB / 0.9512 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=480 -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/jenkins/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