Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008793/0.0008794, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00111/0.00111, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.989/2.989, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005565, allocations: 15.62 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4034, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001128/0.4046, allocations: 487.5 kB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.4058, allocations: 0.8546 MB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.4059, allocations: 4 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.4059, allocations: 7.922 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.549e-05/0.406, allocations: 7.922 kB / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.4062, allocations: 31.97 kB / 1.059 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.4063, allocations: 75.73 kB / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.4064, allocations: 23.97 kB / 1.059 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.4065, allocations: 27.86 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.4066, allocations: 35.89 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.4066, allocations: 7.984 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.4067, allocations: 4 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.4067, allocations: 15.92 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.4067, allocations: 33.64 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.898e-05/0.4068, allocations: 59.84 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4068, allocations: 4 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.316e-06/0.4068, allocations: 4 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.4068, allocations: 0 / 1.06 GB, free: 3.602 MB / 0.8106 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.0005793/0.4074, allocations: 387.3 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4075, allocations: 8.031 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.4075, allocations: 11.91 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.4077, allocations: 171 kB / 1.06 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4077, allocations: 8 kB / 1.06 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4077, allocations: 7.953 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.408, allocations: 113.5 kB / 1.06 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.408, allocations: 4 kB / 1.06 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4081, allocations: 3.938 kB / 1.06 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.4081, allocations: 4 kB / 1.06 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.4084, allocations: 115.9 kB / 1.06 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.409, allocations: 348.6 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.4096, allocations: 130.6 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.4097, allocations: 72.81 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4098, allocations: 0 / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4098, allocations: 34.55 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4098, allocations: 0 / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006318/0.4104, allocations: 217.4 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.4105, allocations: 55.41 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.4106, allocations: 121.8 kB / 1.061 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.4106, allocations: 29.7 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.4107, allocations: 91.98 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.4107, allocations: 23.73 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.4107, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4108, allocations: 326.8 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.411, allocations: 51.95 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.4112, allocations: 59.94 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.4113, allocations: 55.95 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4114, allocations: 0 / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003833/0.4117, allocations: 161.4 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4118, allocations: 13.72 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4118, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4118, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.412, allocations: 31.97 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.412, allocations: 0.5469 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.4121, allocations: 23.98 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.4121, allocations: 4 kB / 1.062 GB, free: 0.7539 MB / 0.8106 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.4122, allocations: 125.7 kB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.4122, allocations: 3.906 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.4123, allocations: 12.38 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4123, allocations: 0 / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4123, allocations: 0 / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4123, allocations: 0 / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.4125, allocations: 209.5 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4125, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.4127, allocations: 35.91 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4127, allocations: 0 / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4127, allocations: 4 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4127, allocations: 0 / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4127, allocations: 0 / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.4132, allocations: 263.3 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.4132, allocations: 89 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4133, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.4134, allocations: 23.97 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.4135, allocations: 19.97 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.4135, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.367e-05/0.4136, allocations: 91.27 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4136, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002367/0.4138, allocations: 16 kB / 1.063 GB, free: 15.78 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001249/0.414, allocations: 103.2 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.4144, allocations: 127.9 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4144, allocations: 4 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.4146, allocations: 75.89 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.4149, allocations: 11.89 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.4153, allocations: 192.4 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4156, allocations: 0.6926 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.242e-05/0.4157, allocations: 12.19 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.4158, allocations: 15.42 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.4158, allocations: 0 / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.003785/0.4195, allocations: 1.302 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches