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.01115/0.01115, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00187/0.00187, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.596/1.596, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.035/3.035, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4405, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002148/0.4427, allocations: 0.7775 MB / 1.209 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.4439, allocations: 0.8545 MB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.4439, allocations: 0 / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.444, allocations: 7.922 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.893e-05/0.4441, allocations: 11.88 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.4443, allocations: 47.88 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.4444, allocations: 79.83 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.4446, allocations: 27.97 kB / 1.21 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.4447, allocations: 47.77 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.4448, allocations: 43.83 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.4448, allocations: 8 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.4449, allocations: 12 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.4449, allocations: 27.91 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.445, allocations: 31.86 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.4451, allocations: 87.66 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4451, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4451, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4451, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 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.0006724/0.4458, allocations: 391.2 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4459, allocations: 12.62 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.4459, allocations: 8.844 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.4461, allocations: 180.1 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.4461, allocations: 8.375 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.4461, allocations: 4.375 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.4464, allocations: 109.5 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4465, allocations: 3.938 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4465, allocations: 0 / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4465, allocations: 4 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.4468, allocations: 99.91 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.4474, allocations: 348.6 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.448, allocations: 118.6 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.4482, allocations: 56.81 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.4483, allocations: 3.938 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.4483, allocations: 34.5 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/0.4483, allocations: 4 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006272/0.4489, allocations: 185.4 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.449, allocations: 51.41 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4491, allocations: 125.8 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4491, allocations: 25.7 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.4492, allocations: 104 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.4492, allocations: 23.66 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.4493, allocations: 21.7 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4494, allocations: 322.8 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.4496, allocations: 43.95 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.4497, allocations: 51.89 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.4501, allocations: 92.78 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4501, allocations: 0 / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003647/0.4505, allocations: 137.6 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4505, allocations: 8 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4505, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4505, allocations: 4 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.4507, allocations: 23.97 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4507, allocations: 3.938 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.4508, allocations: 19.83 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4508, allocations: 7.984 kB / 1.212 GB, free: 4.793 MB / 0.9669 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.79e-05/0.4509, allocations: 121.8 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.451, allocations: 4 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.451, allocations: 8.375 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.451, allocations: 0 / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.451, allocations: 0 / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.451, allocations: 7.938 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.4513, allocations: 201.5 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4513, allocations: 3.938 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.4514, allocations: 27.97 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4514, allocations: 0 / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4514, allocations: 8 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4515, allocations: 0 / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4515, allocations: 11.91 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.4519, allocations: 231.3 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.4519, allocations: 85 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.452, allocations: 12 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4521, allocations: 7.984 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.4522, allocations: 27.91 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4522, allocations: 4 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.4523, allocations: 91.27 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4523, allocations: 0 / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002366/0.4525, allocations: 16 kB / 1.213 GB, free: 3.844 MB / 0.9669 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.0001437/0.4527, allocations: 99.25 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.4531, allocations: 112.5 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4531, allocations: 0 / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.4533, allocations: 56.11 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.4536, allocations: 12.16 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.4541, allocations: 174 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.4543, allocations: 0.694 MB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.926e-05/0.4544, allocations: 11.94 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.4545, allocations: 23.42 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.4545, allocations: 0 / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of Templates: time 0.004109/0.4586, allocations: 1.574 MB / 1.216 GB, free: 1.043 MB / 0.9669 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