Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001196/0.001196, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001152/0.001152, allocations: 195.7 kB / 16.26 MB, free: 6.625 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 437 MB / 0.71 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7821, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002423/0.7846, allocations: 0.8396 MB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.7856, allocations: 0.8585 MB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.7856, allocations: 4 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.7857, allocations: 7.875 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.7858, allocations: 7.922 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.786, allocations: 35.97 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.7861, allocations: 83.83 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.7862, allocations: 27.97 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.735e-05/0.7863, allocations: 43.83 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.7864, allocations: 47.83 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.7864, allocations: 8 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.7865, allocations: 8 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.7865, allocations: 23.91 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.7866, allocations: 39.73 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.7867, allocations: 87.72 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7867, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7867, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.7867, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.7637 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.0007239/0.7875, allocations: 389.1 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.7875, allocations: 8.031 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.7876, allocations: 12.84 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.7878, allocations: 180.2 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.7878, allocations: 4.375 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.7878, allocations: 4.375 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.7882, allocations: 105.7 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7882, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.7882, allocations: 7.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7882, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.7886, allocations: 103.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.7891, allocations: 352.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.7897, allocations: 126.5 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.7899, allocations: 56.81 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.79, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.79, allocations: 42.56 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.79, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006609/0.7907, allocations: 185.4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.7907, allocations: 55.41 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.7908, allocations: 129.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.7909, allocations: 25.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.7909, allocations: 96.08 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.7909, allocations: 19.64 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.791, allocations: 21.72 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7911, allocations: 322.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.7913, allocations: 43.95 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.7915, allocations: 47.95 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.7918, allocations: 100.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7918, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003953/0.7922, allocations: 137.5 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.7922, allocations: 8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.7923, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.7923, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.7924, allocations: 23.97 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.7925, allocations: 0.5469 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.7926, allocations: 19.91 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.7926, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 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.365e-05/0.7927, allocations: 117.8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.7927, allocations: 7.906 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.7928, allocations: 8.375 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7928, allocations: 7.984 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7928, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7928, allocations: 3.938 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.793, allocations: 193.6 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.793, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.7932, allocations: 31.91 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7932, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.7932, allocations: 3.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7932, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7932, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.7937, allocations: 247.3 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.7937, allocations: 85.02 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.7937, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.7939, allocations: 15.92 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/0.794, allocations: 23.91 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.794, allocations: 7.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.177e-05/0.7941, allocations: 95.27 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7941, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002327/0.7943, allocations: 15.94 kB / 1.022 GB, free: 12.84 MB / 0.7794 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.0001367/0.7945, allocations: 115.2 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.7949, allocations: 107.9 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7949, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.7951, allocations: 67.88 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.7954, allocations: 12 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.7959, allocations: 186.4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.7961, allocations: 0.6942 MB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.981e-05/0.7962, allocations: 15.98 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.7963, allocations: 23.42 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7963, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of Templates: time 0.003687/0.8, allocations: 1.415 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches