Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008155/0.008155, allocations: 102.2 kB / 15.73 MB, free: 6.477 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.001792/0.001792, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.473/2.473, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.39 kB / 0.9509 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3287, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001916/0.3307, allocations: 0.7616 MB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.3317, allocations: 0.8623 MB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.3317, allocations: 3.938 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.3318, allocations: 11.92 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.465e-05/0.3319, allocations: 15.88 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.332, allocations: 39.94 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3322, allocations: 79.83 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3323, allocations: 23.98 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.3324, allocations: 39.84 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.3325, allocations: 47.83 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.3325, allocations: 8 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.26e-05/0.3325, allocations: 8 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.3326, allocations: 27.89 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.3326, allocations: 35.8 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.3327, allocations: 87.66 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3328, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3328, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3328, allocations: 0 / 1.09 GB, free: 15.45 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.000637/0.3334, allocations: 399.2 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3335, allocations: 8.031 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.3335, allocations: 8.844 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3337, allocations: 176.2 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3337, allocations: 4.375 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.3337, allocations: 8.375 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.334, allocations: 109.5 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.334, allocations: 4 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3341, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3341, allocations: 3.984 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.3344, allocations: 95.91 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.335, allocations: 348.5 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.3356, allocations: 126.6 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.3358, allocations: 56.81 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3358, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3358, allocations: 34.56 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.3358, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006486/0.3365, allocations: 189.4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3365, allocations: 55.34 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.3366, allocations: 129.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3367, allocations: 29.7 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.3367, allocations: 99.97 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.3368, allocations: 15.81 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3368, allocations: 21.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3369, allocations: 322.8 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.3371, allocations: 43.95 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3373, allocations: 51.95 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.3376, allocations: 92.78 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3377, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000419/0.3381, allocations: 145.4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3381, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3381, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3381, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3383, allocations: 27.97 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3383, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3384, allocations: 15.92 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3384, allocations: 0 / 1.092 GB, free: 12.65 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,add1.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.302e-05/0.3385, allocations: 125.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3386, allocations: 7.906 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.3386, allocations: 8.375 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3386, allocations: 7.875 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3386, allocations: 4 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3386, allocations: 3.938 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3388, allocations: 193.6 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3389, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.339, allocations: 27.97 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.339, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.339, allocations: 8 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3391, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3391, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.3395, allocations: 239.3 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.3396, allocations: 81.02 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3396, allocations: 7.984 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3397, allocations: 11.98 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.3398, allocations: 31.84 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.3398, allocations: 7.984 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.3399, allocations: 91.27 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3399, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002203/0.3401, allocations: 16 kB / 1.093 GB, free: 11.7 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 (add1.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.0001266/0.3402, allocations: 103.8 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.3407, allocations: 100.5 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3407, allocations: 0 / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.3409, allocations: 71.88 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3412, allocations: 9.406 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.3416, allocations: 174.7 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3419, allocations: 0.6923 MB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.235e-05/0.3419, allocations: 15.75 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.342, allocations: 23.42 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.342, allocations: 0 / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.003821/0.3458, allocations: 1.583 MB / 1.096 GB, free: 8.887 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches