Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008212/0.008212, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.002168/0.002168, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.718/2.718, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001866, allocations: 59.91 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7414, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002015/0.7434, allocations: 0.6995 MB / 1.221 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.7445, allocations: 0.8351 MB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.7446, allocations: 4 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.7446, allocations: 3.938 kB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.7447, allocations: 3.938 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.7449, allocations: 23.91 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.745, allocations: 35.98 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.7451, allocations: 27.91 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.7452, allocations: 27.92 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.7452, allocations: 27.8 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.7453, allocations: 4 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.7453, allocations: 4 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.7453, allocations: 11.97 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.7454, allocations: 23.86 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.7455, allocations: 35.88 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7455, allocations: 0 / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7455, allocations: 0 / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.7455, allocations: 0 / 1.222 GB, free: 248 kB / 0.9356 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.0006009/0.7461, allocations: 367 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.7462, allocations: 8.031 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.7462, allocations: 34.75 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.7462, allocations: 8.891 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.7464, allocations: 176.3 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.7464, allocations: 384 / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.7465, allocations: 8.125 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.7467, allocations: 61.66 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7467, allocations: 8 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.7467, allocations: 4 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7467, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.7469, allocations: 47.95 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.7474, allocations: 296.6 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.7476, allocations: 62.55 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.7477, allocations: 32.91 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.7478, allocations: 7.922 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.7478, allocations: 38.56 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7478, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004342/0.7482, allocations: 109.6 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.7483, allocations: 51.41 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.7484, allocations: 113.8 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.7484, allocations: 25.7 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.7485, allocations: 88.09 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.7485, allocations: 16 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.7485, allocations: 13.72 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7487, allocations: 326.8 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.7488, allocations: 23.98 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/0.7489, allocations: 23.97 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.7491, allocations: 52.81 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7491, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000256/0.7494, allocations: 89.55 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7494, allocations: 8 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7494, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.7494, allocations: 3.938 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.7496, allocations: 15.97 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7496, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.091e-05/0.7496, allocations: 8 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.7497, allocations: 7.938 kB / 1.224 GB, free: 13.92 MB / 0.9512 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 8.728e-05/0.7498, allocations: 109.8 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.7498, allocations: 8 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.7498, allocations: 7.906 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.7498, allocations: 4 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.7499, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7499, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.7501, allocations: 181.5 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7501, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.7502, allocations: 11.98 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.7502, allocations: 3.938 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.7502, allocations: 11.94 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7502, allocations: 4 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7502, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.7505, allocations: 179.4 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.7506, allocations: 85 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.7506, allocations: 4 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.7507, allocations: 3.984 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.7508, allocations: 16.36 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.7508, allocations: 4 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.7509, allocations: 91.2 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7509, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002206/0.7511, allocations: 8 kB / 1.225 GB, free: 13.09 MB / 0.9512 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.0006362/0.7517, allocations: 0.7207 MB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.752, allocations: 51.95 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.752, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.7521, allocations: 31.91 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.7524, allocations: 12 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.7541, allocations: 1.323 MB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.7544, allocations: 0.6846 MB / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.636e-05/0.7544, allocations: 8 kB / 1.227 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.7545, allocations: 11.44 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.7545, allocations: 3.938 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.7766, allocations: 1.848 MB / 1.229 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.559, allocations: 17.86 kB / 1.229 GB, free: 8.359 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches