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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001512/0.001512, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00181/0.00181, allocations: 195 kB / 16.14 MB, free: 6.648 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.579/1.579, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.14/3.14, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 68.69 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4022, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002198/0.4045, allocations: 0.8403 MB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.4055, allocations: 0.8701 MB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.4055, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.619e-05/0.4056, allocations: 7.922 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.4057, allocations: 7.938 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.4059, allocations: 27.91 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.406, allocations: 79.88 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.4061, allocations: 27.98 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.4062, allocations: 35.8 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.4063, allocations: 47.81 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.4064, allocations: 4 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/0.4064, allocations: 4 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.4064, allocations: 19.91 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.4065, allocations: 39.78 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.4066, allocations: 83.72 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4066, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4066, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.4066, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 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.0006971/0.4073, allocations: 387.5 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4074, allocations: 12.03 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.4075, allocations: 8.844 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.4076, allocations: 180.2 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4077, allocations: 8.375 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.4077, allocations: 8.375 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.408, allocations: 105.7 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.408, allocations: 0 / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.4081, allocations: 4 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4081, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.4085, allocations: 103.9 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.4091, allocations: 336.6 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.4097, allocations: 118.5 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.4099, allocations: 68.84 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.41, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.41, allocations: 34.5 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.41, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006667/0.4107, allocations: 181.5 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.4107, allocations: 51.41 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4108, allocations: 125.8 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4109, allocations: 25.7 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.4109, allocations: 104 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.411, allocations: 15.75 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.411, allocations: 25.7 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.4111, allocations: 318.8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.4114, allocations: 43.95 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.4116, allocations: 55.92 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.4119, allocations: 96.72 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4119, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004103/0.4123, allocations: 141.4 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4124, allocations: 9.719 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.4124, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4124, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.4126, allocations: 23.97 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4126, allocations: 4 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.4127, allocations: 15.92 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.4127, allocations: 8 kB / 1.072 GB, free: 5.945 MB / 0.8262 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.432e-05/0.4128, allocations: 121.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.4129, allocations: 11.91 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.4129, allocations: 8.375 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4129, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4129, allocations: 3.984 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4129, allocations: 3.938 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.4132, allocations: 209.4 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4132, allocations: 0 / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.4134, allocations: 23.97 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4134, allocations: 0 / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4134, allocations: 4 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4134, allocations: 4 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4134, allocations: 0.5469 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.4139, allocations: 239.3 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.4139, allocations: 84.95 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.414, allocations: 4 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.4141, allocations: 19.97 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.4142, allocations: 19.97 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.4142, allocations: 3.938 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.4143, allocations: 95.7 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4143, allocations: 0 / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002286/0.4145, allocations: 16 kB / 1.073 GB, free: 4.996 MB / 0.8262 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.0001491/0.4147, allocations: 99.25 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.4151, allocations: 107.9 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4151, allocations: 3.938 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.4153, allocations: 55.95 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.4157, allocations: 10.25 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.4162, allocations: 199.8 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.4168, allocations: 0.6887 MB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.871e-05/0.4169, allocations: 15.98 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.417, allocations: 11.44 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of SimCode: time 3.657e-06/0.417, allocations: 7.938 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of Templates: time 0.005195/0.4222, allocations: 1.355 MB / 1.075 GB, free: 2.398 MB / 0.8262 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/jenkins/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