Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007469/0.00747, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001413/0.001413, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.188, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002451/1.191, allocations: 0.7826 MB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00114/1.192, allocations: 0.8608 MB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/1.192, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/1.192, allocations: 11.86 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/1.192, allocations: 15.92 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/1.192, allocations: 35.89 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000143/1.193, allocations: 87.81 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/1.193, allocations: 23.98 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/1.193, allocations: 43.78 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/1.193, allocations: 51.81 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/1.193, allocations: 8 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/1.193, allocations: 8 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/1.193, allocations: 19.92 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/1.193, allocations: 31.86 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/1.193, allocations: 96.14 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.193, allocations: 0 / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.144e-06/1.193, allocations: 0 / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.193, allocations: 0 / 1.169 GB, free: 1.73 MB / 0.8887 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.0007655/1.194, allocations: 399.1 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.194, allocations: 8.625 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/1.194, allocations: 8.891 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/1.194, allocations: 176.2 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/1.194, allocations: 4.375 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/1.194, allocations: 8.375 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/1.195, allocations: 113.5 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.195, allocations: 3.938 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/1.195, allocations: 4 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.195, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/1.195, allocations: 103.8 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/1.196, allocations: 336.7 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/1.197, allocations: 126.5 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/1.197, allocations: 60.8 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/1.197, allocations: 0 / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.197, allocations: 38.5 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/1.197, allocations: 0 / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006832/1.198, allocations: 181.5 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/1.198, allocations: 51.41 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/1.198, allocations: 125.7 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/1.198, allocations: 33.7 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/1.198, allocations: 100 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/1.198, allocations: 23.8 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/1.198, allocations: 21.7 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.198, allocations: 318.8 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/1.198, allocations: 47.95 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/1.198, allocations: 47.95 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/1.199, allocations: 93.23 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.199, allocations: 0 / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003926/1.199, allocations: 145.5 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.199, allocations: 4 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.199, allocations: 0 / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.199, allocations: 4 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/1.199, allocations: 27.91 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.199, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/1.2, allocations: 23.86 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/1.2, allocations: 3.984 kB / 1.171 GB, free: 14.92 MB / 0.9044 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 0.0001156/1.2, allocations: 117.8 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/1.2, allocations: 7.953 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/1.2, allocations: 8.375 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.2, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.2, allocations: 4 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.2, allocations: 3.938 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/1.2, allocations: 197.6 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.2, allocations: 3.938 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/1.2, allocations: 23.97 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.2, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.2, allocations: 12 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.2, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.2, allocations: 7.922 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/1.201, allocations: 235.3 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/1.201, allocations: 85.05 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/1.201, allocations: 4 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/1.201, allocations: 11.98 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/1.201, allocations: 27.91 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/1.201, allocations: 4 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.004e-05/1.201, allocations: 91.27 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.201, allocations: 0 / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000237/1.201, allocations: 12 kB / 1.172 GB, free: 13.98 MB / 0.9044 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.0001496/1.202, allocations: 109.6 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004227/1.202, allocations: 103.8 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.202, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/1.202, allocations: 63.95 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/1.203, allocations: 8 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/1.203, allocations: 178 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/1.203, allocations: 0.6924 MB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.123e-05/1.204, allocations: 8 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/1.204, allocations: 23.42 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/1.204, allocations: 0 / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of Templates: time 0.004392/1.208, allocations: 1.577 MB / 1.175 GB, free: 11.18 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches