Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008456, allocations: 92.78 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.0009931/0.0009931, allocations: 178.5 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 437.8 MB / 0.7128 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003919, allocations: 12 kB / 0.8735 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6745, allocations: 153.8 MB / 1.024 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001021/0.6756, allocations: 445.3 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.6767, allocations: 0.8273 MB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.6767, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.6768, allocations: 7.938 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.025e-05/0.6769, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.677, allocations: 23.97 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.351e-05/0.6771, allocations: 47.84 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.6773, allocations: 8 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.6773, allocations: 15.98 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.6774, allocations: 23.84 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.6775, allocations: 11.94 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.6775, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.6775, allocations: 7.984 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.6776, allocations: 45.56 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.648e-05/0.6776, allocations: 27.92 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6777, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6777, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.6777, allocations: 4 kB / 1.025 GB, free: 14.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005732/0.6782, allocations: 357.4 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6783, allocations: 12.03 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.6784, allocations: 4.844 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.6785, allocations: 168.3 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.6786, allocations: 4.375 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.6786, allocations: 4.375 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.6788, allocations: 73.78 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.6788, allocations: 4 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6788, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6789, allocations: 3.938 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.6791, allocations: 59.94 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.6796, allocations: 292.8 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.6798, allocations: 66.58 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.68, allocations: 52.8 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.68, allocations: 4.062 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.68, allocations: 30.56 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.68, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004678/0.6805, allocations: 133.5 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.6806, allocations: 51.41 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.6807, allocations: 105.8 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.6807, allocations: 25.7 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.6808, allocations: 88.14 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.6808, allocations: 15.78 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.6808, allocations: 17.72 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.681, allocations: 322.7 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.6811, allocations: 23.98 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.6812, allocations: 31.97 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.6814, allocations: 68.81 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6814, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002709/0.6817, allocations: 97.56 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6817, allocations: 7.984 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6818, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6818, allocations: 4 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.6819, allocations: 15.92 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.6819, allocations: 4 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.682, allocations: 8 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.682, allocations: 3.984 kB / 1.027 GB, free: 11.96 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.964e-05/0.6821, allocations: 119.3 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.6822, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.6822, allocations: 3.906 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6822, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6822, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.6822, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.6824, allocations: 189.5 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6824, allocations: 4 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.8e-05/0.6825, allocations: 15.98 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6826, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.6826, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6826, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6826, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.6829, allocations: 199.7 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.683, allocations: 77.16 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.683, allocations: 3.984 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.6831, allocations: 15.92 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.6832, allocations: 11.98 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.6832, allocations: 4 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.6832, allocations: 95.56 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.495e-06/0.6832, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002211/0.6835, allocations: 11.84 kB / 1.028 GB, free: 11.12 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001263/0.6836, allocations: 107.2 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.6839, allocations: 71.94 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6839, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.684, allocations: 35.92 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.6843, allocations: 3.984 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.6847, allocations: 170.4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.685, allocations: 0.6809 MB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.6851, allocations: 11.42 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.6851, allocations: 0 / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of Templates: time 0.002376/0.6874, allocations: 0.7933 MB / 1.03 GB, free: 9.188 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches