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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.517/2.517, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001065/0.001065, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.0009439/0.0009439, allocations: 91.97 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.557e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3451, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.467, allocations: 149.8 MB / 1.365 GB, free: 4.191 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.467, allocations: 72.77 kB / 1.365 GB, free: 4.152 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003223/1.47, allocations: 0.9372 MB / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.43e-06/1.471, allocations: 3.984 kB / 1.366 GB, free: 3.309 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.239e-05/1.471, allocations: 4 kB / 1.366 GB, free: 3.305 MB / 0.823 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.000516/1.471, allocations: 348.1 kB / 1.366 GB, free: 2.926 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/1.471, allocations: 8.031 kB / 1.366 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/1.471, allocations: 8.531 kB / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/1.471, allocations: 163 kB / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/1.471, allocations: 4 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/1.471, allocations: 0 / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/1.472, allocations: 56.11 kB / 1.367 GB, free: 2.656 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.472, allocations: 7.938 kB / 1.367 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.472, allocations: 7.984 kB / 1.367 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.472, allocations: 0 / 1.367 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.413e-05/1.472, allocations: 30.98 kB / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/1.472, allocations: 290.3 kB / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/1.472, allocations: 48.88 kB / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/1.472, allocations: 28.39 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/1.473, allocations: 4 kB / 1.367 GB, free: 2.23 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/1.473, allocations: 30.56 kB / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/1.473, allocations: 0 / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002384/1.473, allocations: 56.27 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/1.473, allocations: 59.36 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/1.473, allocations: 100.6 kB / 1.367 GB, free: 1.969 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/1.473, allocations: 29.7 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/1.473, allocations: 91.23 kB / 1.367 GB, free: 1.844 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/1.473, allocations: 7.906 kB / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/1.473, allocations: 0 / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.473, allocations: 318.7 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-05/1.473, allocations: 11.94 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/1.473, allocations: 15 kB / 1.368 GB, free: 1.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/1.473, allocations: 6.875 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.473, allocations: 0 / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001282/1.474, allocations: 66.48 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.474, allocations: 4 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.474, allocations: 0 / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.474, allocations: 4 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/1.474, allocations: 15.92 kB / 1.368 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.474, allocations: 4 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-05/1.474, allocations: 18.28 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/1.474, allocations: 0 / 1.368 GB, free: 1.391 MB / 0.823 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.u,addPar.y) * Number of discrete 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.055e-05/1.474, allocations: 112.9 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/1.474, allocations: 6.562 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/1.474, allocations: 10.53 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.474, allocations: 0 / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.474, allocations: 0 / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.474, allocations: 0 / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/1.474, allocations: 179.8 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/1.474, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/1.474, allocations: 15.98 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.474, allocations: 4 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/1.474, allocations: 1.312 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.474, allocations: 0 / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.474, allocations: 0.7031 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/1.475, allocations: 166.2 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/1.475, allocations: 77.11 kB / 1.368 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/1.475, allocations: 4 kB / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.475, allocations: 11.98 kB / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/1.475, allocations: 14.61 kB / 1.368 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/1.475, allocations: 4.875 kB / 1.368 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.08e-05/1.475, allocations: 83.16 kB / 1.368 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.71e-07/1.475, allocations: 0 / 1.368 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002154/1.475, allocations: 8 kB / 1.368 GB, free: 0.6445 MB / 0.823 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.u,addPar.y) * Number of discrete 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.000171/1.475, allocations: 106.9 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001255/1.476, allocations: 34.62 kB / 1.369 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.476, allocations: 0 / 1.369 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/1.476, allocations: 26.55 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/1.476, allocations: 8.922 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/1.476, allocations: 83.8 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.476, allocations: 0.6861 MB / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.196e-05/1.476, allocations: 8 kB / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/1.477, allocations: 15.42 kB / 1.369 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.477, allocations: 0 / 1.369 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.003241/1.48, allocations: 0.742 MB / 1.37 GB, free: 14.93 MB / 0.8386 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