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.001263/0.001262, allocations: 105.9 kB / 16.41 MB, free: 6.457 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.001307/0.001307, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.476/2.476, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 64.09 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6654, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001889/0.6673, allocations: 0.777 MB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.6682, allocations: 0.8624 MB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.6683, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.6683, allocations: 11.86 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.6684, allocations: 7.875 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.6686, allocations: 35.95 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.6687, allocations: 99.69 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.6689, allocations: 23.98 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.632e-05/0.6689, allocations: 35.86 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.669, allocations: 51.81 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.6691, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.6691, allocations: 8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.6691, allocations: 19.91 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.6692, allocations: 39.84 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.6693, allocations: 87.66 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6693, allocations: 3.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6693, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.6693, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 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.0006101/0.6699, allocations: 389 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.67, allocations: 12.03 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.67, allocations: 8.844 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.6702, allocations: 180.2 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6702, allocations: 4.375 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.6702, allocations: 4.375 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.6705, allocations: 107.9 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.6705, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.6705, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.6705, allocations: 4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.6709, allocations: 103.8 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.6714, allocations: 344.6 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.672, allocations: 126.5 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.6722, allocations: 56.81 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.6722, allocations: 4 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.6722, allocations: 30.56 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.6722, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006414/0.6729, allocations: 189.4 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.6729, allocations: 59.33 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.673, allocations: 121.8 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.673, allocations: 25.7 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.6731, allocations: 104 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.6731, allocations: 15.73 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.6732, allocations: 33.7 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.6733, allocations: 310.8 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.6735, allocations: 47.94 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.6736, allocations: 47.95 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.674, allocations: 96.78 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.674, allocations: 0 / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004011/0.6744, allocations: 141.4 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6744, allocations: 7.938 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6744, allocations: 0 / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6745, allocations: 0 / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.6746, allocations: 27.97 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6747, allocations: 0 / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.6748, allocations: 19.92 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.6748, allocations: 4 kB / 1.213 GB, free: 8.762 MB / 0.9356 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.957e-05/0.6749, allocations: 113.8 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.6749, allocations: 7.906 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.675, allocations: 12.38 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.675, allocations: 7.984 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.675, allocations: 0 / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.675, allocations: 3.938 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.6752, allocations: 205.5 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6752, allocations: 0 / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.6753, allocations: 27.91 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6754, allocations: 0 / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.6754, allocations: 7.938 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6754, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6754, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.6758, allocations: 235.4 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.6759, allocations: 85.02 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.6759, allocations: 3.984 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.676, allocations: 11.98 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.6761, allocations: 27.92 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/0.6761, allocations: 3.984 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.6762, allocations: 99.27 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6762, allocations: 0 / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002253/0.6764, allocations: 15.94 kB / 1.214 GB, free: 7.812 MB / 0.9356 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.0001069/0.6765, allocations: 103.2 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.6769, allocations: 99.91 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6769, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.6771, allocations: 67.88 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.6774, allocations: 14.8 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.6779, allocations: 203.8 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.6781, allocations: 0.6924 MB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.6782, allocations: 15.44 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.6782, allocations: 0 / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of Templates: time 0.002389/0.6806, allocations: 1.245 MB / 1.216 GB, free: 5.324 MB / 0.9356 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/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