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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008534/0.008534, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001752/0.001752, allocations: 190.1 kB / 16.67 MB, free: 5.871 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7453 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.89 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28/1.281, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002482/1.283, allocations: 0.7733 MB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001278/1.285, allocations: 0.8662 MB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/1.285, allocations: 3.938 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.505e-05/1.285, allocations: 7.938 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/1.285, allocations: 7.875 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/1.285, allocations: 43.89 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/1.285, allocations: 79.88 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/1.286, allocations: 23.98 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/1.286, allocations: 43.84 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/1.286, allocations: 51.81 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/1.286, allocations: 8 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/1.286, allocations: 11.94 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/1.286, allocations: 15.92 kB / 1.228 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/1.286, allocations: 39.78 kB / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/1.286, allocations: 88.22 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.286, allocations: 0 / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.256e-06/1.286, allocations: 0 / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.416e-06/1.286, allocations: 0 / 1.228 GB, free: 11.48 MB / 0.9512 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.0007394/1.287, allocations: 395.1 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.287, allocations: 12.03 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/1.287, allocations: 8.891 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/1.287, allocations: 188.2 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.287, allocations: 384 / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/1.287, allocations: 8.375 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/1.288, allocations: 109.5 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.288, allocations: 0 / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/1.288, allocations: 4 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.288, allocations: 7.938 kB / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/1.288, allocations: 95.91 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/1.289, allocations: 348.6 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/1.289, allocations: 118.6 kB / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/1.29, allocations: 56.81 kB / 1.229 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/1.29, allocations: 4 kB / 1.229 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.29, allocations: 38.5 kB / 1.229 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/1.29, allocations: 0 / 1.229 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0007468/1.291, allocations: 177.5 kB / 1.229 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/1.291, allocations: 59.41 kB / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/1.291, allocations: 125.7 kB / 1.229 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/1.291, allocations: 29.69 kB / 1.229 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/1.291, allocations: 100 kB / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/1.291, allocations: 15.84 kB / 1.229 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/1.291, allocations: 29.7 kB / 1.229 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.291, allocations: 314.8 kB / 1.23 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/1.291, allocations: 47.95 kB / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/1.292, allocations: 47.95 kB / 1.23 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/1.292, allocations: 101.2 kB / 1.23 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.292, allocations: 0 / 1.23 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004177/1.292, allocations: 137.5 kB / 1.23 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.292, allocations: 8 kB / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.292, allocations: 0 / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.292, allocations: 0 / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.293, allocations: 23.97 kB / 1.23 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.293, allocations: 0 / 1.23 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/1.293, allocations: 27.84 kB / 1.23 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/1.293, allocations: 4 kB / 1.23 GB, free: 8.664 MB / 0.9512 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.0001246/1.293, allocations: 117.8 kB / 1.23 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/1.293, allocations: 7.953 kB / 1.23 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/1.293, allocations: 12.38 kB / 1.23 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.293, allocations: 3.938 kB / 1.23 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.293, allocations: 0 / 1.23 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.293, allocations: 7.922 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/1.293, allocations: 197.6 kB / 1.231 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.293, allocations: 0 / 1.231 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/1.293, allocations: 27.97 kB / 1.231 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.293, allocations: 0 / 1.231 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/1.293, allocations: 3.984 kB / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.293, allocations: 0 / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.293, allocations: 0 / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/1.294, allocations: 243.3 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/1.294, allocations: 89 kB / 1.231 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/1.294, allocations: 4 kB / 1.231 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/1.294, allocations: 11.98 kB / 1.231 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/1.294, allocations: 23.91 kB / 1.231 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/1.294, allocations: 11.98 kB / 1.231 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.826e-05/1.294, allocations: 95.27 kB / 1.231 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.294, allocations: 0 / 1.231 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002369/1.295, allocations: 16 kB / 1.231 GB, free: 7.711 MB / 0.9512 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.0001833/1.295, allocations: 103.2 kB / 1.231 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004659/1.295, allocations: 103.8 kB / 1.231 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.295, allocations: 0 / 1.231 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/1.296, allocations: 67.94 kB / 1.231 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/1.296, allocations: 16.44 kB / 1.231 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/1.297, allocations: 186 kB / 1.231 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/1.297, allocations: 0.6885 MB / 1.232 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.998e-05/1.297, allocations: 15.98 kB / 1.232 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/1.297, allocations: 15.44 kB / 1.232 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/1.297, allocations: 0 / 1.232 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of Templates: time 0.005039/1.302, allocations: 1.581 MB / 1.234 GB, free: 4.895 MB / 0.9512 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/jenkins/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