Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_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_latest_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.001592/0.001592, allocations: 104.4 kB / 16.27 MB, free: 5.957 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.001625/0.001625, allocations: 187 kB / 17.19 MB, free: 5.59 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 68.56 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2955, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00224/0.2977, allocations: 0.7656 MB / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2989, allocations: 0.8662 MB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.2989, allocations: 4 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.299, allocations: 11.88 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.2991, allocations: 7.875 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.2993, allocations: 35.94 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2994, allocations: 79.83 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2996, allocations: 35.86 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.2997, allocations: 43.89 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.2998, allocations: 47.83 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.2998, allocations: 8 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.2998, allocations: 8 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.2999, allocations: 23.91 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.2999, allocations: 35.8 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3, allocations: 83.72 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3001, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3001, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3001, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 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.0006584/0.3007, allocations: 399.5 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3008, allocations: 12.56 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3008, allocations: 8.844 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.301, allocations: 176.2 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.301, allocations: 4.375 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.301, allocations: 4.375 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.3013, allocations: 113.7 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3014, allocations: 0 / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3014, allocations: 0 / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3014, allocations: 4 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.3018, allocations: 95.84 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.3024, allocations: 348.6 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.303, allocations: 118.5 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.3032, allocations: 60.81 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3032, allocations: 0 / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3033, allocations: 34.56 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3033, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006899/0.304, allocations: 185.4 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.304, allocations: 55.41 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.3041, allocations: 129.7 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3042, allocations: 25.7 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.3042, allocations: 96.03 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3043, allocations: 15.75 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.3043, allocations: 25.7 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3045, allocations: 326.8 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.3047, allocations: 43.95 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3049, allocations: 44.27 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.3052, allocations: 104.9 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3052, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004314/0.3057, allocations: 137.5 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3057, allocations: 10.19 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3057, allocations: 3.938 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3057, allocations: 3.938 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3059, allocations: 23.97 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3059, allocations: 4 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3061, allocations: 15.92 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3061, allocations: 3.984 kB / 1.069 GB, free: 10.12 MB / 0.8419 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.528e-05/0.3062, allocations: 114.4 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.3062, allocations: 11.89 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.3063, allocations: 8.375 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3063, allocations: 4 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3063, allocations: 0 / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3063, allocations: 7.938 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.3065, allocations: 197.5 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3065, allocations: 4 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.3067, allocations: 27.97 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3067, allocations: 0 / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3067, allocations: 4 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3067, allocations: 7.875 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3067, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.3072, allocations: 235.3 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.3073, allocations: 89 kB / 1.069 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3073, allocations: 4 kB / 1.069 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3075, allocations: 11.98 kB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.3075, allocations: 19.97 kB / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3076, allocations: 11.94 kB / 1.069 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.3076, allocations: 91.27 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3076, allocations: 4 kB / 1.07 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002399/0.3079, allocations: 12 kB / 1.07 GB, free: 9.184 MB / 0.8419 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.0001159/0.308, allocations: 99.25 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.3084, allocations: 115.8 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3085, allocations: 0 / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.3087, allocations: 59.89 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.309, allocations: 8.766 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.3095, allocations: 204 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3097, allocations: 0.6885 MB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.3098, allocations: 23.42 kB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.3098, allocations: 0 / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of Templates: time 0.002817/0.3126, allocations: 1.241 MB / 1.072 GB, free: 6.695 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches