Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001122, allocations: 183.3 kB / 498.1 MB, free: 5.719 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.000887, allocations: 88.33 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003795, allocations: 8.375 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.313, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.5072, allocations: 149.9 MB / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.5075, allocations: 91.92 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004576/0.5121, allocations: 1.492 MB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5121, allocations: 0 / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.5122, allocations: 4 kB / 1.371 GB, free: 10.57 MB / 0.8698 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.0006247/0.5128, allocations: 403 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5128, allocations: 8.031 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.5129, allocations: 7.906 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.5131, allocations: 182.5 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.5131, allocations: 11.94 kB / 1.371 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.5131, allocations: 4 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.5134, allocations: 113.6 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5135, allocations: 3.984 kB / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.5135, allocations: 4 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5135, allocations: 4 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.5139, allocations: 115.9 kB / 1.372 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005785/0.5144, allocations: 356.4 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.5151, allocations: 138.6 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.5151, allocations: 0 / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.5151, allocations: 30.56 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.5151, allocations: 0 / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0006921/0.5158, allocations: 225.5 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.5159, allocations: 55.41 kB / 1.372 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.516, allocations: 117 kB / 1.372 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.516, allocations: 29.7 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.5161, allocations: 92.03 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.5161, allocations: 15.81 kB / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.5161, allocations: 0 / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5163, allocations: 322.8 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.5165, allocations: 55.95 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.5167, allocations: 60.27 kB / 1.373 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.5169, allocations: 56.11 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5169, allocations: 0 / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004031/0.5173, allocations: 169.4 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5173, allocations: 5.562 kB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5173, allocations: 4 kB / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5174, allocations: 0 / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.5175, allocations: 35.92 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.5176, allocations: 0 / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.5177, allocations: 19.92 kB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.5177, allocations: 3.984 kB / 1.373 GB, free: 7.77 MB / 0.8698 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 (add1.u1,add1.u2,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/0.5178, allocations: 123.6 kB / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.5178, allocations: 7.906 kB / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.5179, allocations: 12.38 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5179, allocations: 0 / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5179, allocations: 3.953 kB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5179, allocations: 0 / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.5181, allocations: 205.5 kB / 1.374 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5181, allocations: 0 / 1.374 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.5183, allocations: 31.97 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5183, allocations: 0 / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.5183, allocations: 11.98 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5184, allocations: 0 / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5184, allocations: 0 / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.5188, allocations: 259.3 kB / 1.374 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.5189, allocations: 85.02 kB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.5189, allocations: 8 kB / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5191, allocations: 19.98 kB / 1.374 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.5192, allocations: 19.91 kB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.5192, allocations: 7.984 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.5192, allocations: 103.2 kB / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5193, allocations: 0 / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002251/0.5195, allocations: 20.08 kB / 1.374 GB, free: 6.773 MB / 0.8698 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.u1,add1.u2,add1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001409/0.5196, allocations: 115 kB / 1.374 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004265/0.5201, allocations: 123.9 kB / 1.374 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5201, allocations: 0 / 1.374 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.5203, allocations: 71.89 kB / 1.374 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.5205, allocations: 15.94 kB / 1.375 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.521, allocations: 197.3 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.5213, allocations: 0.7004 MB / 1.375 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.589e-05/0.5214, allocations: 4.188 kB / 1.375 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.5214, allocations: 23.42 kB / 1.375 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.5214, allocations: 0 / 1.375 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of Templates: time 0.003771/0.5252, allocations: 1.307 MB / 1.377 GB, free: 4.168 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches