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.008173/0.008173, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001766/0.001766, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.582/1.582, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.033/3.033, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3606, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002939/0.3636, allocations: 0.7737 MB / 1.209 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3651, allocations: 0.8546 MB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.3652, allocations: 11.94 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.3652, allocations: 7.875 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3654, allocations: 7.875 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.3656, allocations: 39.95 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.3657, allocations: 83.81 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3659, allocations: 31.97 kB / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.366, allocations: 35.84 kB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.3661, allocations: 47.81 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.3662, allocations: 8 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.3662, allocations: 8 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.3662, allocations: 23.92 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.3663, allocations: 39.78 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.3664, allocations: 87.66 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3664, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3665, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.3665, allocations: 3.938 kB / 1.21 GB, free: 7.598 MB / 0.9669 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.0007242/0.3672, allocations: 395.2 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3672, allocations: 8.625 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.3673, allocations: 8.844 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3675, allocations: 180.2 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3675, allocations: 4.375 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.3675, allocations: 4.375 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.3678, allocations: 109.5 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3679, allocations: 3.938 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3679, allocations: 4 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3679, allocations: 4 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.3683, allocations: 102.5 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.3689, allocations: 344.6 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.3695, allocations: 118.5 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3697, allocations: 56.81 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3698, allocations: 4 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.3698, allocations: 42.55 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3698, allocations: 0 / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006682/0.3705, allocations: 177.4 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3705, allocations: 63.41 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3706, allocations: 125.8 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3706, allocations: 25.7 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.3707, allocations: 92 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3707, allocations: 31.62 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.3708, allocations: 25.7 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3709, allocations: 314.8 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3711, allocations: 47.95 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3713, allocations: 48.25 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.3716, allocations: 100.8 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3717, allocations: 0 / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004046/0.3721, allocations: 133.5 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3721, allocations: 8 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3721, allocations: 0 / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3721, allocations: 0 / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3723, allocations: 23.97 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3723, allocations: 3.984 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3724, allocations: 23.83 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3725, allocations: 0 / 1.212 GB, free: 4.797 MB / 0.9669 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.547e-05/0.3726, allocations: 117.8 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.3726, allocations: 4 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.3726, allocations: 16.36 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.3727, allocations: 7.938 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3727, allocations: 7.938 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3727, allocations: 3.938 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.3729, allocations: 201.5 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3729, allocations: 7.984 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.3732, allocations: 31.91 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3732, allocations: 0 / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3732, allocations: 0 / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3732, allocations: 0 / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3732, allocations: 0 / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.3737, allocations: 235.4 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.3738, allocations: 85.02 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3738, allocations: 0 / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.374, allocations: 11.98 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.3741, allocations: 23.91 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3741, allocations: 4 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.3742, allocations: 91.27 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3742, allocations: 4 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002426/0.3744, allocations: 16 kB / 1.213 GB, free: 3.848 MB / 0.9669 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.0001515/0.3746, allocations: 107.2 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004355/0.375, allocations: 99.91 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.375, allocations: 4 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.3753, allocations: 71.86 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3756, allocations: 7.781 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.3761, allocations: 170 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3763, allocations: 0.6924 MB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.3764, allocations: 11.98 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.3765, allocations: 23.42 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3765, allocations: 4 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of Templates: time 0.004431/0.3809, allocations: 1.629 MB / 1.216 GB, free: 0.9805 MB / 0.9669 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