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.00104/0.00104, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 184.3 kB / 16.92 MB, free: 6.895 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.623/1.623, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 462.7 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 11.75 kB / 0.9034 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001108/0.3324, allocations: 0.4992 MB / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3335, allocations: 0.8663 MB / 1.061 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.3335, allocations: 3.938 kB / 1.061 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.3336, allocations: 3.938 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.3337, allocations: 3.938 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.3338, allocations: 35.97 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.334, allocations: 83.72 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3341, allocations: 27.98 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.3342, allocations: 31.84 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.3343, allocations: 39.83 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3343, allocations: 4 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.3343, allocations: 4 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.3344, allocations: 11.92 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.3344, allocations: 65.47 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.3346, allocations: 51.88 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3346, allocations: 0 / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3346, allocations: 4 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3346, allocations: 0 / 1.061 GB, free: 3.25 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.0006039/0.3352, allocations: 391.5 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3352, allocations: 12.03 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3353, allocations: 4.844 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3355, allocations: 184.2 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3355, allocations: 384 / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3355, allocations: 8.375 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.3358, allocations: 117.7 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.3358, allocations: 4 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3359, allocations: 4 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3359, allocations: 0 / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.3363, allocations: 127.8 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.3368, allocations: 336.7 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.3374, allocations: 134.5 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3376, allocations: 76.8 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3377, allocations: 0 / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3377, allocations: 34.56 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.3377, allocations: 0 / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007099/0.3384, allocations: 221.4 kB / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3385, allocations: 51.41 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.3386, allocations: 117.8 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3386, allocations: 29.7 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.3387, allocations: 99.97 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.3387, allocations: 31.53 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.3387, allocations: 13.72 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3389, allocations: 326.8 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3391, allocations: 51.95 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3393, allocations: 60.27 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.3397, allocations: 124.9 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3397, allocations: 0 / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004504/0.3401, allocations: 157.6 kB / 1.064 GB, free: 372 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3402, allocations: 4 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3402, allocations: 0 / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.3402, allocations: 0 / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3404, allocations: 35.91 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3404, allocations: 4 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3405, allocations: 27.81 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.3406, allocations: 0 / 1.064 GB, free: 300 kB / 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 (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.000137/0.3407, allocations: 117.8 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.3407, allocations: 4 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.3408, allocations: 8.375 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3408, allocations: 11.98 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3408, allocations: 0 / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3408, allocations: 3.938 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.341, allocations: 197.5 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.341, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.3412, allocations: 31.97 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3412, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3412, allocations: 3.984 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3412, allocations: 4 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3413, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.3418, allocations: 263.2 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.3418, allocations: 85.02 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3418, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.342, allocations: 15.98 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.3421, allocations: 27.97 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3421, allocations: 3.938 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.3421, allocations: 99.2 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3421, allocations: 0 / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002269/0.3424, allocations: 16 kB / 1.065 GB, free: 15.32 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 (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.0001966/0.3426, allocations: 99.23 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.343, allocations: 127.8 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.343, allocations: 0 / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.3433, allocations: 71.94 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3436, allocations: 11.94 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.344, allocations: 226.9 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3443, allocations: 0.6887 MB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.3444, allocations: 15.42 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3444, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.002626/0.347, allocations: 1.217 MB / 1.067 GB, free: 12.8 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/jenkins1/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