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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001281/0.001281, allocations: 112.6 kB / 16.37 MB, free: 6 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.001554/0.001554, allocations: 196 kB / 17.31 MB, free: 5.613 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 442.5 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002066, allocations: 68.34 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4173, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002452/0.4198, allocations: 0.7948 MB / 1.028 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.4209, allocations: 0.8546 MB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.421, allocations: 0 / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.421, allocations: 11.86 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.91e-05/0.4211, allocations: 15.86 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.4213, allocations: 39.95 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.4214, allocations: 91.75 kB / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.4216, allocations: 19.98 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.4217, allocations: 39.91 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.4217, allocations: 47.81 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.4218, allocations: 12 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.4218, allocations: 8 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.4218, allocations: 19.92 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.4219, allocations: 31.8 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.422, allocations: 95.78 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.422, allocations: 3.938 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4221, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4221, allocations: 0 / 1.029 GB, free: 15.95 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.000664/0.4227, allocations: 395.1 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4228, allocations: 8.031 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.4228, allocations: 8.844 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.423, allocations: 180.2 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.4231, allocations: 4.375 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.4231, allocations: 4.375 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.4234, allocations: 105.7 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4234, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.4234, allocations: 12 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4234, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.4238, allocations: 91.91 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.4244, allocations: 336.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.425, allocations: 126.5 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.4252, allocations: 60.75 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.4252, allocations: 7.984 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4253, allocations: 30.56 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4253, allocations: 4 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006089/0.4259, allocations: 185.4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.4259, allocations: 51.41 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.594e-05/0.426, allocations: 117.8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.426, allocations: 29.7 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.4261, allocations: 100 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4261, allocations: 15.75 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.4262, allocations: 25.64 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4263, allocations: 326.8 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.4265, allocations: 43.95 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.4266, allocations: 47.95 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.4269, allocations: 96.77 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4269, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003681/0.4273, allocations: 145.4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4273, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4274, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4274, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.4275, allocations: 23.97 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4276, allocations: 0.5469 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.4277, allocations: 15.92 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.4277, allocations: 11.98 kB / 1.031 GB, free: 13.17 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 8.597e-05/0.4278, allocations: 121.8 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.4278, allocations: 3.906 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.4279, allocations: 12.38 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4279, allocations: 3.984 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4279, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4279, allocations: 3.938 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.4281, allocations: 205.5 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.4281, allocations: 7.938 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.4283, allocations: 23.97 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4283, allocations: 4 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.4283, allocations: 3.984 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4283, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4283, allocations: 4 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.4287, allocations: 235.3 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.4288, allocations: 89 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.4288, allocations: 0 / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.429, allocations: 11.98 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.429, allocations: 23.97 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.4291, allocations: 7.875 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.105e-05/0.4291, allocations: 111.5 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4291, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002281/0.4294, allocations: 12 kB / 1.032 GB, free: 12.21 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.0001242/0.4295, allocations: 99.25 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.4299, allocations: 107.9 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4299, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.4301, allocations: 59.89 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.4304, allocations: 15.98 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.4309, allocations: 170.4 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.4311, allocations: 0.6885 MB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.4312, allocations: 12 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.4313, allocations: 15.42 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.4313, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.003852/0.4351, allocations: 1.589 MB / 1.035 GB, free: 9.406 MB / 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 -s cvode -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