Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.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.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_latest_Buildings.Obsolete.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.001556/0.001556, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002637/0.002638, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.8809, allocations: 153.6 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.001209/0.8822, allocations: 488.8 kB / 1.021 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.8836, allocations: 0.8623 MB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.8836, allocations: 0 / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.8837, allocations: 3.938 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.8838, allocations: 11.98 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.884, allocations: 23.97 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.8841, allocations: 55.86 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.8842, allocations: 24.2 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.8843, allocations: 27.91 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.8845, allocations: 43.83 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.8845, allocations: 0 / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.8845, allocations: 4 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.8845, allocations: 19.91 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.8847, allocations: 41.64 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.8848, allocations: 67.83 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.8848, allocations: 3.938 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8848, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.8848, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 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.0006705/0.8855, allocations: 393 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.8855, allocations: 11.98 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.8856, allocations: 7.906 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.8858, allocations: 175 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.8858, allocations: 4 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.8858, allocations: 7.984 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.8862, allocations: 129.5 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.8862, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.8862, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.8862, allocations: 4 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.8867, allocations: 122.8 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.8873, allocations: 344.6 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/0.8879, allocations: 138.5 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.8879, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.888, allocations: 30.56 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.888, allocations: 4 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007699/0.8888, allocations: 221.6 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.8888, allocations: 51.41 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.8889, allocations: 125.8 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.889, allocations: 25.7 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.8891, allocations: 96.05 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.8891, allocations: 23.73 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.8891, allocations: 0 / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.8893, allocations: 322.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.8895, allocations: 55.95 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.8897, allocations: 63.94 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.8899, allocations: 60.11 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8899, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005185/0.8904, allocations: 165.4 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.8905, allocations: 10.12 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.8905, allocations: 4 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8905, allocations: 0 / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.8907, allocations: 31.97 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8907, allocations: 4 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.8908, allocations: 23.89 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.8909, allocations: 3.984 kB / 1.025 GB, free: 12.6 MB / 0.7794 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.y,reaToInt.y,reaToInt1.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 0.0001194/0.891, allocations: 117.8 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.891, allocations: 8 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.8911, allocations: 8.375 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.8911, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8911, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8911, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.8914, allocations: 205.5 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8914, allocations: 4 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.8916, allocations: 31.91 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8916, allocations: 4 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.8916, allocations: 3.984 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8916, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8916, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.8922, allocations: 263.3 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.8922, allocations: 85.05 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.8923, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.8924, allocations: 19.98 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.8926, allocations: 23.97 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.8926, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.318e-05/0.8927, allocations: 95.27 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8927, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002298/0.8929, allocations: 19.91 kB / 1.026 GB, free: 11.63 MB / 0.7794 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 (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.000162/0.8931, allocations: 103.2 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.8935, allocations: 127.9 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8935, allocations: 4 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.8938, allocations: 75.88 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.894, allocations: 4 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.8945, allocations: 197.5 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.895, allocations: 0.6965 MB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.332e-05/0.8951, allocations: 16.17 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.8951, allocations: 15.42 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.8951, allocations: 0 / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.003863/0.899, allocations: 1.318 MB / 1.028 GB, free: 9.027 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches