Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_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_latest_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.001052/0.001052, 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.001315/0.001315, 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.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.738/2.738, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.0005529, allocations: 12 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7618, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00102/0.7629, allocations: 437 kB / 1.021 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.7639, allocations: 0.8197 MB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.764, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.764, allocations: 7.938 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.7641, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.7643, allocations: 31.84 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.7644, allocations: 19.97 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.7645, allocations: 8 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.424e-05/0.7646, allocations: 15.92 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.726e-05/0.7647, allocations: 27.89 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.7647, allocations: 4 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.7647, allocations: 4 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.7647, allocations: 4 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.7648, allocations: 33.64 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.451e-05/0.7648, allocations: 27.92 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.7649, allocations: 4 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7649, allocations: 0 / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5e-06/0.7649, allocations: 0 / 1.022 GB, free: 15.68 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.0006815/0.7656, allocations: 353.3 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.7656, allocations: 11.98 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.7657, allocations: 7.906 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.7658, allocations: 167 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-05/0.7659, allocations: 4 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.7659, allocations: 3.938 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.7662, allocations: 85.59 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7662, allocations: 4 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.7662, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7662, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.7665, allocations: 63.88 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.767, allocations: 292.8 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.7672, allocations: 62.55 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.7672, allocations: 7.969 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.7673, allocations: 38.55 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.7673, allocations: 0 / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004386/0.7677, allocations: 121.8 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.7678, allocations: 63.34 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.7679, allocations: 105.8 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.7679, allocations: 25.7 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.7679, allocations: 88.05 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.768, allocations: 11.84 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.768, allocations: 4 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7681, allocations: 314.8 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.7682, allocations: 35.92 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.7683, allocations: 27.97 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.7684, allocations: 27.98 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7685, allocations: 3.953 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002264/0.7687, allocations: 97.64 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7687, allocations: 4 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.7687, allocations: 0 / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7687, allocations: 0 / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.7689, allocations: 15.98 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7689, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.769, allocations: 15.89 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.769, allocations: 0 / 1.024 GB, free: 13.44 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 (addPar.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.7691, allocations: 117.8 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.7691, allocations: 3.953 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.7691, allocations: 7.906 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7691, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7692, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7692, allocations: 3.984 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.7693, allocations: 169.7 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7694, allocations: 0 / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.7694, allocations: 19.94 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7695, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.7695, allocations: 7.984 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7695, allocations: 3.938 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7695, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.7698, allocations: 195.4 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.7698, allocations: 85.05 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.7698, allocations: 3.953 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.7699, allocations: 15.98 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.77, allocations: 11.92 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.77, allocations: 4 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.7701, allocations: 79.28 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7701, allocations: 0 / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002117/0.7703, allocations: 12 kB / 1.025 GB, free: 12.61 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 (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.0001318/0.7704, allocations: 99.61 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.7707, allocations: 63.95 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7707, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.7708, allocations: 47.98 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.771, allocations: 9.719 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.7714, allocations: 136.6 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.7717, allocations: 0.6809 MB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.434e-05/0.7717, allocations: 8 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.7718, allocations: 15.42 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7718, allocations: 0 / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of Templates: time 0.002878/0.7747, allocations: 0.7388 MB / 1.027 GB, free: 10.76 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches