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.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.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.001736/0.001736, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002017/0.002017, allocations: 196.1 kB / 16.14 MB, free: 6.719 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.578/1.578, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.934/2.934, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 59.91 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8503/0.8524, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002488/0.8549, allocations: 0.7735 MB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.8562, allocations: 0.8351 MB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.8562, allocations: 4 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/0.8563, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.822e-05/0.8564, allocations: 7.922 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.8566, allocations: 19.98 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.146e-05/0.8567, allocations: 43.86 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.8568, allocations: 15.98 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.8569, allocations: 19.92 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.608e-05/0.857, allocations: 23.91 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.857, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.857, allocations: 4 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.8571, allocations: 7.984 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.8571, allocations: 19.86 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.8573, allocations: 47.86 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8573, allocations: 0 / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8573, allocations: 0 / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.8573, allocations: 0 / 1.018 GB, free: 0.9219 MB / 0.7637 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.000638/0.8579, allocations: 361.3 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.858, allocations: 8.031 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.858, allocations: 4.938 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.8582, allocations: 168.3 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.8582, allocations: 12.31 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.8583, allocations: 4.375 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.8585, allocations: 73.78 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8585, allocations: 0 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.8586, allocations: 0 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.8586, allocations: 0 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.8588, allocations: 55.89 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.8593, allocations: 284.8 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.8596, allocations: 70.47 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.8597, allocations: 36.91 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.8597, allocations: 3.938 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.8598, allocations: 34.56 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.8598, allocations: 0 / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004594/0.8602, allocations: 113.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.8603, allocations: 55.41 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.8604, allocations: 105.8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.8605, allocations: 25.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.8605, allocations: 88.14 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.8606, allocations: 15.75 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.8606, allocations: 21.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.8608, allocations: 318.8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.8609, allocations: 23.97 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.861, allocations: 27.97 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.8612, allocations: 48.83 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8612, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002689/0.8615, allocations: 89.58 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.8616, allocations: 4 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.8616, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.8616, allocations: 4 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.8617, allocations: 11.98 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.8618, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.307e-05/0.8618, allocations: 12.31 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-06/0.8618, allocations: 0 / 1.02 GB, free: 14.66 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 0.0001209/0.862, allocations: 118.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.862, allocations: 7.891 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.8621, allocations: 15.89 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8621, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.8621, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8621, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.8623, allocations: 185.5 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.8623, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.8624, allocations: 11.98 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8624, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.8624, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8625, allocations: 3.938 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8625, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.8628, allocations: 187.4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.8629, allocations: 81.02 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.8629, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.863, allocations: 11.98 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.8631, allocations: 7.984 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.8631, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.8632, allocations: 91.2 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8632, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002306/0.8634, allocations: 12 kB / 1.021 GB, free: 13.84 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.0001613/0.8636, allocations: 103.2 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.8639, allocations: 55.89 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8639, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.864, allocations: 31.97 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.8644, allocations: 8 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.8648, allocations: 151.2 kB / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.8653, allocations: 0.6809 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.168e-05/0.8653, allocations: 11.98 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.8654, allocations: 11.44 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of SimCode: time 2.755e-06/0.8654, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of Templates: time 0.003594/0.869, allocations: 0.7641 MB / 1.023 GB, free: 11.96 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=400 -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/jenkins/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