Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Integers.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.405/2.405, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001548/0.001548, allocations: 189.8 kB / 498.1 MB, free: 5.711 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.577/1.577, allocations: 223.2 MB / 0.7949 GB, free: 17.84 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.001009/0.001009, allocations: 96.31 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003343, allocations: 13.84 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3243, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.51, allocations: 149 MB / 1.368 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5104, allocations: 71.95 kB / 1.368 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002898/0.5133, allocations: 0.9338 MB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.275e-06/0.5133, allocations: 0 / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.5133, allocations: 4 kB / 1.369 GB, free: 11.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004419/0.5138, allocations: 355.2 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5138, allocations: 8.031 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.5139, allocations: 7.906 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.5141, allocations: 175 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.5141, allocations: 8 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.5141, allocations: 7.938 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.5144, allocations: 69.64 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5144, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.5144, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.5144, allocations: 4 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.5147, allocations: 63.94 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.5153, allocations: 288.7 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.5155, allocations: 70.58 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.5156, allocations: 0 / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.5156, allocations: 34.56 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 2.836e-06/0.5156, allocations: 0 / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0005024/0.5161, allocations: 137.5 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.5162, allocations: 55.36 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.5163, allocations: 97 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.5163, allocations: 29.7 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.5164, allocations: 88.12 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.5164, allocations: 15.81 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.5164, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5165, allocations: 310.8 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.5167, allocations: 27.97 kB / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.5168, allocations: 35.97 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.5169, allocations: 27.98 kB / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.517, allocations: 0 / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003048/0.5173, allocations: 101.6 kB / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5173, allocations: 4 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5173, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5173, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.5175, allocations: 15.98 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5175, allocations: 0 / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.5176, allocations: 15.94 kB / 1.371 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5176, allocations: 4 kB / 1.371 GB, free: 9.734 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: 2 (addPar.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.532e-05/0.5177, allocations: 113.8 kB / 1.371 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.5178, allocations: 3.906 kB / 1.371 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.5178, allocations: 7.906 kB / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5178, allocations: 4 kB / 1.372 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5178, allocations: 0 / 1.372 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5178, allocations: 0 / 1.372 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.5181, allocations: 181.6 kB / 1.372 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5181, allocations: 4 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.5182, allocations: 19.98 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5183, allocations: 336 / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.5183, allocations: 4 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5183, allocations: 4.25 kB / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.5183, allocations: 3.984 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.5186, allocations: 199.4 kB / 1.372 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.5187, allocations: 89 kB / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.5187, allocations: 0 / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5188, allocations: 8 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.5189, allocations: 7.984 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5189, allocations: 7.984 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.5189, allocations: 83.27 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5189, allocations: 4 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002322/0.5192, allocations: 16 kB / 1.372 GB, free: 8.887 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: 2 (addPar.u,addPar.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.0001473/0.5193, allocations: 111.8 kB / 1.372 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.5196, allocations: 67.89 kB / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5196, allocations: 0 / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.5197, allocations: 39.97 kB / 1.372 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.52, allocations: 7.953 kB / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.5204, allocations: 144.6 kB / 1.372 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.5207, allocations: 0.6809 MB / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.226e-05/0.5208, allocations: 7.984 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.5208, allocations: 11.44 kB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.5208, allocations: 0 / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of Templates: time 0.003198/0.5241, allocations: 0.7282 MB / 1.374 GB, free: 7.039 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches