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.001178/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001288/0.001288, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.851/2.851, allocations: 461.8 MB / 0.7342 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 65.59 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.373, allocations: 157.4 MB / 1.052 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002545/0.3756, allocations: 0.8265 MB / 1.053 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3767, allocations: 0.8701 MB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.3768, allocations: 4 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.3769, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.377, allocations: 3.938 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.3771, allocations: 43.89 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.3773, allocations: 79.73 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3774, allocations: 27.92 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3775, allocations: 39.89 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.795e-05/0.3776, allocations: 47.7 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3777, allocations: 4 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.3777, allocations: 8 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.3777, allocations: 19.91 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.3778, allocations: 31.8 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3779, allocations: 83.72 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3779, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3779, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3779, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 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.0007231/0.3787, allocations: 395.5 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3787, allocations: 8.031 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.3788, allocations: 8.844 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.379, allocations: 172.2 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.379, allocations: 8.375 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.379, allocations: 4.375 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.3794, allocations: 125.7 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3794, allocations: 0 / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3794, allocations: 4 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3794, allocations: 0 / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.3798, allocations: 91.91 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.3805, allocations: 352.6 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.3811, allocations: 114.6 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.3814, allocations: 64.75 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3814, allocations: 0 / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3814, allocations: 38.56 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3814, allocations: 0 / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006876/0.3821, allocations: 185.4 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.3822, allocations: 59.41 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.3823, allocations: 114.2 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3823, allocations: 29.7 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.3824, allocations: 92.03 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3824, allocations: 19.75 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.3825, allocations: 25.7 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3826, allocations: 326.8 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.3828, allocations: 43.95 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.383, allocations: 43.95 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.3833, allocations: 101.2 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3833, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004223/0.3838, allocations: 145.4 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3838, allocations: 8 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3838, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3838, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.384, allocations: 27.91 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.384, allocations: 4 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.3842, allocations: 15.92 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3842, allocations: 3.984 kB / 1.057 GB, free: 4.004 MB / 0.8106 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.538e-05/0.3843, allocations: 115.4 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3843, allocations: 7.906 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.3844, allocations: 12.38 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3844, allocations: 7.938 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3844, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3844, allocations: 11.88 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.3846, allocations: 201.5 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3846, allocations: 0 / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3848, allocations: 23.97 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3848, allocations: 4 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3848, allocations: 3.984 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3848, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3848, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.3853, allocations: 239.3 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3854, allocations: 89 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3854, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3855, allocations: 11.98 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.3856, allocations: 23.91 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3856, allocations: 7.938 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.666e-05/0.3857, allocations: 99.31 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3857, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002387/0.386, allocations: 12 kB / 1.057 GB, free: 3.059 MB / 0.8106 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.0001441/0.3861, allocations: 103.2 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000427/0.3865, allocations: 107.9 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3866, allocations: 0 / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3868, allocations: 63.89 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3872, allocations: 13.02 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.3876, allocations: 195.9 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3879, allocations: 0.6888 MB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.569e-05/0.388, allocations: 11.98 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.3881, allocations: 19.42 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.3881, allocations: 0 / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of Templates: time 0.004002/0.3921, allocations: 1.347 MB / 1.06 GB, free: 480 kB / 0.8106 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