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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00112/0.00112, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.001112/0.001112, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.484/2.484, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6943/0.6956, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001738/0.6974, allocations: 0.7732 MB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.6982, allocations: 0.8585 MB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.6983, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.6983, allocations: 11.86 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.6984, allocations: 11.88 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.6986, allocations: 35.94 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.6987, allocations: 95.77 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.6988, allocations: 27.97 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.6989, allocations: 31.91 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.699, allocations: 51.81 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.699, allocations: 8 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.6991, allocations: 8 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.6991, allocations: 23.92 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.6991, allocations: 31.8 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.6993, allocations: 91.59 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6993, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6993, allocations: 4 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.6993, allocations: 0 / 1.21 GB, free: 11.53 MB / 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.0005919/0.6999, allocations: 389 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6999, allocations: 8.031 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.7, allocations: 12.84 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.7001, allocations: 180.2 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.7001, allocations: 12.36 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.7001, allocations: 4.375 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.7004, allocations: 109.5 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.7005, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.7005, allocations: 4 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7005, allocations: 0 / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.7008, allocations: 95.91 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.7013, allocations: 344.6 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.7019, allocations: 122.5 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.7021, allocations: 56.81 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.7022, allocations: 7.984 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.7022, allocations: 30.56 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.7022, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006441/0.7028, allocations: 189.4 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.7029, allocations: 51.41 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.703, allocations: 125.7 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.703, allocations: 25.7 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.7031, allocations: 108 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.7031, allocations: 15.75 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.7032, allocations: 21.7 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.7033, allocations: 322.8 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.7034, allocations: 43.95 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.7036, allocations: 43.95 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.704, allocations: 96.78 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.704, allocations: 4 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004044/0.7044, allocations: 145.9 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.7044, allocations: 4 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7044, allocations: 4 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.7044, allocations: 3.938 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.7046, allocations: 23.97 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.7046, allocations: 8.062 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.7047, allocations: 11.92 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.7048, allocations: 7.984 kB / 1.213 GB, free: 8.734 MB / 0.9356 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 8.045e-05/0.7048, allocations: 117.8 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.7049, allocations: 19.83 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.705, allocations: 8.375 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.705, allocations: 0 / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.705, allocations: 0 / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.705, allocations: 3.938 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.7052, allocations: 201.5 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7052, allocations: 3.938 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.7054, allocations: 23.97 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7054, allocations: 0 / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.7054, allocations: 7.984 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7054, allocations: 4 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7054, allocations: 0 / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.7059, allocations: 235.4 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.706, allocations: 81.02 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.706, allocations: 4 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.7061, allocations: 11.98 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.7062, allocations: 27.91 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.7062, allocations: 4 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.7063, allocations: 99.2 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7063, allocations: 0 / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002253/0.7065, allocations: 15.94 kB / 1.214 GB, free: 7.785 MB / 0.9356 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.000105/0.7066, allocations: 99.25 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.7071, allocations: 107.9 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7071, allocations: 0 / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.7073, allocations: 59.89 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.7076, allocations: 8 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.708, allocations: 207.8 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.7083, allocations: 0.6923 MB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.7084, allocations: 23.42 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.7084, allocations: 0 / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of Templates: time 0.002658/0.711, allocations: 1.237 MB / 1.216 GB, free: 5.305 MB / 0.9356 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