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.001261/0.001261, allocations: 106 kB / 16.35 MB, free: 5.824 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.001274/0.001274, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.61 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3695, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002551/0.3721, allocations: 0.7939 MB / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3732, allocations: 0.8623 MB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.3733, allocations: 4 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.3734, allocations: 15.86 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.678e-05/0.3735, allocations: 3.938 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.3737, allocations: 47.88 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3738, allocations: 75.89 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.3739, allocations: 31.92 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.374, allocations: 35.84 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3742, allocations: 51.81 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.3742, allocations: 8 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.3742, allocations: 8 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.3742, allocations: 19.92 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.3743, allocations: 39.78 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3745, allocations: 83.8 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3745, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3745, allocations: 0 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.3745, allocations: 0 / 1.029 GB, free: 15.96 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.0007313/0.3752, allocations: 396.4 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3753, allocations: 12.03 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.3753, allocations: 8.844 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3755, allocations: 180.2 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3755, allocations: 8.312 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3756, allocations: 4.375 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.3759, allocations: 117.2 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3759, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3759, allocations: 4 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3759, allocations: 4 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.3763, allocations: 95.84 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006096/0.3769, allocations: 344.6 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.3775, allocations: 118.5 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.3777, allocations: 56.81 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.3778, allocations: 8 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3778, allocations: 34.56 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3778, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006498/0.3785, allocations: 173.5 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.3785, allocations: 67.39 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3786, allocations: 121.8 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3787, allocations: 25.7 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.3787, allocations: 99.97 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.3788, allocations: 15.75 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.3788, allocations: 25.7 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.379, allocations: 322.8 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.3792, allocations: 47.95 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.3793, allocations: 43.95 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.3796, allocations: 96.78 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3796, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003856/0.38, allocations: 137.5 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3801, allocations: 8 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3801, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3801, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3803, allocations: 27.91 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3803, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3804, allocations: 23.86 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3804, allocations: 7.984 kB / 1.031 GB, free: 13.16 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 (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.0001018/0.3805, allocations: 113.8 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.3806, allocations: 7.906 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.3806, allocations: 16.38 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3806, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3806, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3806, allocations: 7.922 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.3809, allocations: 201.5 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3809, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.381, allocations: 31.97 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.381, allocations: 3.938 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3811, allocations: 3.984 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3811, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3811, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.3815, allocations: 239.8 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.3816, allocations: 89.02 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3816, allocations: 3.984 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3817, allocations: 11.98 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.3818, allocations: 23.97 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3819, allocations: 3.938 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.31e-05/0.3819, allocations: 95.27 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4e-07/0.3819, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000226/0.3822, allocations: 20 kB / 1.032 GB, free: 12.21 MB / 0.8106 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.0001653/0.3823, allocations: 95.25 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.3827, allocations: 115.9 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3827, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.3829, allocations: 63.95 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3833, allocations: 8.109 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.3838, allocations: 174.2 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3841, allocations: 0.6885 MB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.653e-05/0.3842, allocations: 15.98 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.3842, allocations: 15.44 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of SimCode: time 6.12e-07/0.3843, allocations: 3.938 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.004153/0.3884, allocations: 1.577 MB / 1.035 GB, free: 9.41 MB / 0.8106 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 -s cvode -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