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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.488/2.488, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 71.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7909/0.7927, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001612/0.7943, allocations: 0.7094 MB / 1.272 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007259/0.795, allocations: 0.8493 MB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.795, allocations: 0.75 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.7951, allocations: 4.594 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.124e-05/0.7951, allocations: 5.969 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.7952, allocations: 18.84 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.272e-05/0.7953, allocations: 40.78 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.7954, allocations: 17.92 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.7955, allocations: 26.64 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.7955, allocations: 29.14 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.7955, allocations: 8.062 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.7955, allocations: 4.656 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.7956, allocations: 11.48 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.7956, allocations: 18.86 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.363e-05/0.7957, allocations: 48.58 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7957, allocations: 0 / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7957, allocations: 0.6094 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7957, allocations: 0.8438 kB / 1.273 GB, free: 6.512 MB / 0.9981 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.000386/0.7961, allocations: 356 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.7961, allocations: 9.312 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.577e-05/0.7961, allocations: 37.42 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.7962, allocations: 7.359 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.126e-05/0.7963, allocations: 164.5 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.7963, allocations: 2.031 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.7963, allocations: 10.56 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.7965, allocations: 72.92 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.7965, allocations: 4 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.7965, allocations: 0.75 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7965, allocations: 0.75 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.7967, allocations: 48.73 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.797, allocations: 292.9 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.7972, allocations: 67.36 kB / 1.274 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.7973, allocations: 34.16 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.7973, allocations: 0.875 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-06/0.7973, allocations: 36.44 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7973, allocations: 0 / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003759/0.7977, allocations: 112 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.7977, allocations: 56.31 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.7978, allocations: 103.9 kB / 1.274 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.7978, allocations: 27.52 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.7978, allocations: 93.42 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.7978, allocations: 5.703 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.7978, allocations: 18.38 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.7979, allocations: 322.1 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.798, allocations: 22.34 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.853e-05/0.7981, allocations: 23.88 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.7982, allocations: 58.16 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.7982, allocations: 0.75 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000217/0.7985, allocations: 95.69 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.7985, allocations: 4.812 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7985, allocations: 48 / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.7985, allocations: 4.922 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.7986, allocations: 14.3 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7986, allocations: 0 / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.7987, allocations: 11.5 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.7987, allocations: 4.906 kB / 1.275 GB, free: 4.66 MB / 0.9981 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 4.441e-05/0.7987, allocations: 117.8 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.7987, allocations: 2.469 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.7988, allocations: 4.781 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7988, allocations: 0.8125 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.7988, allocations: 0.8438 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.7988, allocations: 1.312 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.7989, allocations: 187.3 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7989, allocations: 0 / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.799, allocations: 11.66 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.799, allocations: 1.094 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.799, allocations: 5.656 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.799, allocations: 3.938 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.799, allocations: 1.562 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.7992, allocations: 182.9 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.7992, allocations: 88.38 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.7993, allocations: 1.281 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.7993, allocations: 10.23 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.7994, allocations: 10.45 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.7994, allocations: 4.281 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.7994, allocations: 88.34 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7994, allocations: 0.9688 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002073/0.7996, allocations: 8.109 kB / 1.276 GB, free: 3.969 MB / 0.9981 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.000389/0.8, allocations: 0.7182 MB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.8002, allocations: 51.81 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.8002, allocations: 0 / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.8004, allocations: 32.98 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.8006, allocations: 11.64 kB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.8018, allocations: 1.327 MB / 1.278 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.802, allocations: 0.6808 MB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.8021, allocations: 7.688 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.8021, allocations: 22.23 kB / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.8021, allocations: 0 / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.8259, allocations: 1.832 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.725, allocations: 8.453 kB / 1.28 GB, free: 16.95 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,addPar.u,addPar.y Variables in the result:addPar.p,addPar.u,addPar.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time [Calling sys.exit(0), Time elapsed: 13.049519737999617]