Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008258/0.008258, allocations: 102.4 kB / 15.73 MB, free: 6.488 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.001995/0.001995, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.582/2.582, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.42 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3773, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002404/0.3797, allocations: 0.7716 MB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.381, allocations: 0.8623 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.3811, allocations: 3.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.04e-05/0.3811, allocations: 7.875 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.3813, allocations: 11.94 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3815, allocations: 43.88 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3816, allocations: 79.89 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3818, allocations: 23.98 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3819, allocations: 47.77 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.382, allocations: 43.83 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.382, allocations: 8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.382, allocations: 8 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.3821, allocations: 27.91 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.3821, allocations: 35.8 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3823, allocations: 83.72 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3823, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.136e-06/0.3823, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3823, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 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.0007546/0.3831, allocations: 395.2 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3832, allocations: 8.031 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.3832, allocations: 12.84 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3834, allocations: 180.2 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3835, allocations: 4.375 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3835, allocations: 8.375 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3838, allocations: 109.5 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3838, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3839, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3839, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.3843, allocations: 103.8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.3849, allocations: 344.6 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.3855, allocations: 126.5 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.3857, allocations: 56.81 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3858, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3858, allocations: 34.56 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.3858, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006761/0.3865, allocations: 185.4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3865, allocations: 51.41 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3867, allocations: 125.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3867, allocations: 37.64 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/0.3868, allocations: 91.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.3868, allocations: 19.81 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.3869, allocations: 25.7 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.387, allocations: 318.8 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.3872, allocations: 43.95 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.3874, allocations: 43.95 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.3878, allocations: 105.2 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3878, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003852/0.3882, allocations: 129.5 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3882, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3882, allocations: 8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3883, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.3884, allocations: 31.91 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3885, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3886, allocations: 19.91 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3886, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 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.808e-05/0.3887, allocations: 117.8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.3887, allocations: 7.906 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.3888, allocations: 12.38 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3888, allocations: 7.938 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3888, allocations: 3.984 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3888, allocations: 7.922 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.389, allocations: 189.6 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.389, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3892, allocations: 27.97 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3892, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3892, allocations: 7.984 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3892, allocations: 7.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3892, allocations: 3.938 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.3897, allocations: 235.3 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.3897, allocations: 85.02 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3898, allocations: 4 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3899, allocations: 15.98 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.39, allocations: 23.91 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.39, allocations: 4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.3901, allocations: 91.27 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3901, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002288/0.3903, allocations: 16 kB / 1.093 GB, free: 11.67 MB / 0.8575 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.0001899/0.3905, allocations: 99.78 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.391, allocations: 111.8 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.391, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3912, allocations: 55.95 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3915, allocations: 11.98 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.392, allocations: 178.3 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3924, allocations: 0.6962 MB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.163e-05/0.3924, allocations: 15.73 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.3925, allocations: 19.44 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3925, allocations: 0 / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of Templates: time 0.004488/0.397, allocations: 1.583 MB / 1.096 GB, free: 8.855 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches