Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006872/0.006872, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001402/0.001402, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.041, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002129/1.043, allocations: 0.7926 MB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001006/1.044, allocations: 0.8552 MB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/1.044, allocations: 1.062 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/1.044, allocations: 9 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/1.045, allocations: 11.27 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/1.045, allocations: 37.47 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/1.045, allocations: 94.97 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/1.045, allocations: 22.67 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/1.045, allocations: 39.66 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/1.045, allocations: 48.8 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/1.045, allocations: 8.562 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/1.045, allocations: 12 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/1.045, allocations: 18.83 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/1.045, allocations: 35.61 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/1.046, allocations: 94.11 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.046, allocations: 0.5156 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.875e-06/1.046, allocations: 0 / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.064e-05/1.046, allocations: 5.062 kB / 1.09 GB, free: 4.152 MB / 0.8575 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.0006703/1.046, allocations: 395.6 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.046, allocations: 13.03 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/1.046, allocations: 9.375 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/1.047, allocations: 174.6 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/1.047, allocations: 3.344 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/1.047, allocations: 9.188 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/1.047, allocations: 108.1 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.047, allocations: 0 / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/1.047, allocations: 1.797 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/1.047, allocations: 1.156 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/1.047, allocations: 101.7 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/1.048, allocations: 333.1 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/1.049, allocations: 129.9 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/1.049, allocations: 59.06 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/1.049, allocations: 1.188 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/1.049, allocations: 31.62 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/1.049, allocations: 0 / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007093/1.05, allocations: 186.8 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/1.05, allocations: 52.47 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/1.05, allocations: 123.7 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/1.05, allocations: 30.48 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/1.05, allocations: 101.1 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/1.05, allocations: 16.02 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/1.05, allocations: 23.42 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/1.05, allocations: 318.7 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/1.05, allocations: 48.34 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/1.05, allocations: 48.89 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/1.051, allocations: 95.42 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.051, allocations: 0.9688 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004358/1.051, allocations: 138.4 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.051, allocations: 9.062 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.051, allocations: 0 / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.051, allocations: 5.328 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/1.052, allocations: 24.67 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.052, allocations: 0.8125 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/1.052, allocations: 28.02 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/1.052, allocations: 3.047 kB / 1.092 GB, free: 2.203 MB / 0.8575 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 7.583e-05/1.052, allocations: 113.9 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/1.052, allocations: 7.953 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/1.052, allocations: 10.45 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.052, allocations: 5.25 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.052, allocations: 4.688 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.052, allocations: 4.688 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/1.052, allocations: 202.6 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.052, allocations: 0 / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/1.052, allocations: 28.52 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.052, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/1.052, allocations: 10.25 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.052, allocations: 1 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.052, allocations: 0.5156 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/1.053, allocations: 227.5 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/1.053, allocations: 84.27 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/1.053, allocations: 5.516 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/1.053, allocations: 15.92 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/1.053, allocations: 24.7 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.053, allocations: 3.266 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.645e-05/1.053, allocations: 92.92 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.834e-06/1.053, allocations: 0 / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002536/1.053, allocations: 24.52 kB / 1.093 GB, free: 1.48 MB / 0.8575 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.0001409/1.054, allocations: 106.1 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004917/1.054, allocations: 99.47 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.054, allocations: 0 / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/1.054, allocations: 69.52 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/1.055, allocations: 16.2 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/1.055, allocations: 178.9 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/1.055, allocations: 0.6892 MB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.285e-05/1.055, allocations: 16.41 kB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/1.056, allocations: 21.03 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/1.056, allocations: 0 / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of Templates: time 0.005538/1.061, allocations: 1.581 MB / 1.096 GB, free: 364 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches