Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001341/0.001341, allocations: 181.1 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.2 MB / 0.7949 GB, free: 17.95 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.001071/0.001071, allocations: 101.8 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 10.75 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.5349, allocations: 148.8 MB / 1.368 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5352, allocations: 67.97 kB / 1.368 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001745/0.537, allocations: 0.603 MB / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.856e-06/0.537, allocations: 0 / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.537, allocations: 4 kB / 1.369 GB, free: 12.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004576/0.5375, allocations: 339.2 kB / 1.369 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.5376, allocations: 8.031 kB / 1.369 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.5376, allocations: 12 kB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.5378, allocations: 163 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5378, allocations: 0 / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.5378, allocations: 4 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.538, allocations: 53.67 kB / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.538, allocations: 0 / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.538, allocations: 0 / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.538, allocations: 0 / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.5382, allocations: 51.89 kB / 1.369 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.5387, allocations: 264.9 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.5388, allocations: 46.58 kB / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.5388, allocations: 4.062 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.5388, allocations: 33.3 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5389, allocations: 0 / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003518/0.5392, allocations: 105.5 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.5393, allocations: 51.41 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.5393, allocations: 101.1 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.5394, allocations: 25.7 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.5394, allocations: 84.12 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.5394, allocations: 7.906 kB / 1.37 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.5395, allocations: 0 / 1.37 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5396, allocations: 318.8 kB / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.5397, allocations: 23.98 kB / 1.37 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.5397, allocations: 19.98 kB / 1.37 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.165e-05/0.5398, allocations: 23.97 kB / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5398, allocations: 0 / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.54, allocations: 85.61 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.54, allocations: 4 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.54, allocations: 0 / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5401, allocations: 0 / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.5402, allocations: 11.98 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5402, allocations: 4.281 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.5402, allocations: 11.98 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.5402, allocations: 4 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.587e-05/0.5403, allocations: 113.8 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.5404, allocations: 4 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.5404, allocations: 3.125 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5404, allocations: 3.938 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5404, allocations: 0 / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5404, allocations: 7.984 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.5406, allocations: 161.6 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5406, allocations: 0 / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.5406, allocations: 11.98 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.5407, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.5407, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5407, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5407, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.5409, allocations: 187.3 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.541, allocations: 77.11 kB / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.541, allocations: 0 / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.5411, allocations: 16.02 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.5411, allocations: 0 / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.5411, allocations: 0 / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.5412, allocations: 83.28 kB / 1.371 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5412, allocations: 0 / 1.371 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001998/0.5414, allocations: 7.938 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002183/0.5416, allocations: 107 kB / 1.371 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.5419, allocations: 51.91 kB / 1.371 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5419, allocations: 0 / 1.371 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/0.542, allocations: 23.98 kB / 1.371 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.5422, allocations: 12.06 kB / 1.371 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.5427, allocations: 108.7 kB / 1.372 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.543, allocations: 0.6848 MB / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.5431, allocations: 0 / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.5431, allocations: 7.438 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/0.5431, allocations: 0 / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of Templates: time 0.002757/0.5459, allocations: 357.4 kB / 1.373 GB, free: 8.41 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches