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.0009704/0.0009702, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003783, allocations: 13.59 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2924, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00101/0.2935, allocations: 0.4953 MB / 1.06 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2946, allocations: 0.8546 MB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.2947, allocations: 0 / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.2947, allocations: 11.86 kB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2948, allocations: 3.938 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.295, allocations: 43.95 kB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.2951, allocations: 79.73 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2953, allocations: 20 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.2954, allocations: 35.83 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.2955, allocations: 39.83 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2955, allocations: 8 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.2955, allocations: 4 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.2956, allocations: 15.91 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.48e-05/0.2956, allocations: 57.5 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.2957, allocations: 59.84 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2957, allocations: 0 / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2958, allocations: 0 / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2958, allocations: 0 / 1.061 GB, free: 3.219 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.0006586/0.2964, allocations: 391.5 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2965, allocations: 11.97 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.2965, allocations: 8.844 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.2967, allocations: 180.2 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2967, allocations: 4.375 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.2968, allocations: 4.375 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.2971, allocations: 121.7 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.2971, allocations: 4 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2971, allocations: 0 / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.2972, allocations: 3.938 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.2976, allocations: 119.9 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.2981, allocations: 352.6 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.2988, allocations: 134.5 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.299, allocations: 68.81 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.299, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2991, allocations: 34.56 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.2991, allocations: 0 / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007384/0.2998, allocations: 213.5 kB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.2998, allocations: 51.41 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3, allocations: 121.8 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3, allocations: 29.7 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.3001, allocations: 99.97 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.3001, allocations: 27.64 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.3001, allocations: 21.7 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3003, allocations: 318.7 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.3005, allocations: 55.95 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.3007, allocations: 59.95 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.3011, allocations: 116.8 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3011, allocations: 0 / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004566/0.3015, allocations: 154.1 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3016, allocations: 11.98 kB / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3016, allocations: 0 / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3016, allocations: 0 / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3018, allocations: 35.91 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3018, allocations: 0 / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.302, allocations: 27.83 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.302, allocations: 4 kB / 1.064 GB, free: 272 kB / 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 9.471e-05/0.3021, allocations: 113.8 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.3021, allocations: 11.98 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.3022, allocations: 8.375 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3022, allocations: 4 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3022, allocations: 0 / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3022, allocations: 3.938 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3024, allocations: 205.4 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3025, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.3026, allocations: 35.97 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3026, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3027, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3027, allocations: 80 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3027, allocations: 3.984 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.3032, allocations: 259.3 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3032, allocations: 88.95 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3033, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3034, allocations: 19.97 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.3035, allocations: 23.97 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3035, allocations: 3.938 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.3036, allocations: 99.64 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3036, allocations: 0 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002362/0.3038, allocations: 16 kB / 1.065 GB, free: 15.29 MB / 0.8262 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.0001307/0.304, allocations: 99.25 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000475/0.3045, allocations: 127.8 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3045, allocations: 0 / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.3047, allocations: 67.94 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.305, allocations: 12 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.3055, allocations: 222.9 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3058, allocations: 0.7004 MB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.3059, allocations: 11.44 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3059, allocations: 0 / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.002842/0.3087, allocations: 1.224 MB / 1.067 GB, free: 12.76 MB / 0.8262 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