Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001151/0.001151, allocations: 109 kB / 16.41 MB, free: 6.5 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.0012/0.001201, allocations: 183 kB / 17.34 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8696/0.8711, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002227/0.8733, allocations: 0.7814 MB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.8746, allocations: 0.8686 MB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.8747, allocations: 0 / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.434e-05/0.8748, allocations: 11.88 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.8749, allocations: 15.91 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.8751, allocations: 31.91 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.8753, allocations: 87.81 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.8755, allocations: 27.97 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.8757, allocations: 43.8 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.8758, allocations: 47.81 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.8758, allocations: 8 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.8759, allocations: 8 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.8759, allocations: 23.91 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.953e-05/0.876, allocations: 31.86 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.8762, allocations: 83.67 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.8762, allocations: 3.984 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.456e-06/0.8762, allocations: 0 / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.8763, allocations: 4 kB / 1.169 GB, free: 1.777 MB / 0.8887 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.0009359/0.8772, allocations: 389 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.8773, allocations: 12.91 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.8773, allocations: 12.84 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.8776, allocations: 180.2 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.8777, allocations: 12.38 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.8777, allocations: 4.375 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.8781, allocations: 105.5 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.8781, allocations: 4 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.8781, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.8781, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.8785, allocations: 103.8 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.8793, allocations: 336.6 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.8799, allocations: 122.5 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.8801, allocations: 68.73 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.8801, allocations: 7.984 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.8802, allocations: 30.56 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.8802, allocations: 0 / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006352/0.8808, allocations: 177.5 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.8809, allocations: 55.41 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.881, allocations: 133.8 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.881, allocations: 25.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.8811, allocations: 96.03 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.8811, allocations: 23.69 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.8812, allocations: 21.7 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8813, allocations: 318.8 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.8815, allocations: 47.95 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.8817, allocations: 43.95 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.882, allocations: 100.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.882, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000399/0.8824, allocations: 138 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8825, allocations: 4 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.8825, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8825, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.8827, allocations: 31.91 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.8827, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.8828, allocations: 19.92 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.8828, allocations: 4 kB / 1.172 GB, free: 14.98 MB / 0.9044 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 0.0001032/0.8829, allocations: 113.8 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.883, allocations: 7.891 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.883, allocations: 12.38 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.883, allocations: 3.984 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.883, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.8831, allocations: 3.938 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.8833, allocations: 201.5 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.8833, allocations: 4 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.8835, allocations: 27.97 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.8835, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.8835, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.8835, allocations: 12.02 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8835, allocations: 3.984 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.884, allocations: 239.3 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.8841, allocations: 81.02 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.8841, allocations: 4 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.8842, allocations: 15.97 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.8843, allocations: 23.92 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.8843, allocations: 3.938 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.772e-05/0.8844, allocations: 95.27 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8844, allocations: 4 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002543/0.8847, allocations: 19.94 kB / 1.173 GB, free: 14.03 MB / 0.9044 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.0001394/0.8848, allocations: 99.23 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.8853, allocations: 107.8 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.8853, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.8855, allocations: 59.94 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.8858, allocations: 8 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.8864, allocations: 203.8 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.8866, allocations: 0.6924 MB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.8867, allocations: 15.44 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.8867, allocations: 0 / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.003209/0.8899, allocations: 1.243 MB / 1.175 GB, free: 11.55 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches