Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9085/0.9085, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.761/1.761, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.206e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.00134/0.001362, allocations: 0.6678 MB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007459/0.002108, allocations: 0.812 MB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.002141, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.002168, allocations: 3.938 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.002223, allocations: 4 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.536e-05/0.002278, allocations: 11.92 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.959e-05/0.002348, allocations: 27.92 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.433e-05/0.002442, allocations: 7.984 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.002507, allocations: 15.92 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.962e-05/0.002537, allocations: 4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.002556, allocations: 4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-06/0.002561, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.002576, allocations: 7.984 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.002593, allocations: 4 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.237e-05/0.002675, allocations: 31.89 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.002677, allocations: 0 / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002678, allocations: 0 / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.002682, allocations: 3.938 kB / 1.001 GB, free: 11.83 MB / 0.9636 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.0003109/0.002993, allocations: 266.3 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.003031, allocations: 8.75 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.003061, allocations: 34.75 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.74e-05/0.003078, allocations: 0.9375 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.403e-05/0.003152, allocations: 113.8 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.003161, allocations: 384 / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.003169, allocations: 4.375 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.003292, allocations: 50.23 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.003298, allocations: 192 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.003305, allocations: 384 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.003311, allocations: 4.125 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.599e-05/0.003397, allocations: 35.95 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.003659, allocations: 212 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.003738, allocations: 42.55 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.003784, allocations: 24.91 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.003794, allocations: 4 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.003813, allocations: 34.5 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.003813, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002036/0.004017, allocations: 85.67 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.004046, allocations: 55.44 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.004102, allocations: 109.8 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.00411, allocations: 25.7 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.004143, allocations: 88.06 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.004157, allocations: 3.953 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.004182, allocations: 17.72 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.004269, allocations: 310.8 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-05/0.004314, allocations: 19.97 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.00435, allocations: 19.98 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.397e-05/0.004424, allocations: 36.83 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004426, allocations: 3.938 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.004529, allocations: 73.48 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.004541, allocations: 8 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.004547, allocations: 0 / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.004559, allocations: 4.094 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.00462, allocations: 15.98 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.004625, allocations: 0 / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.004647, allocations: 7.938 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.00465, allocations: 0 / 1.003 GB, free: 9.945 MB / 0.9636 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.004698, allocations: 109.8 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.00471, allocations: 7.938 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.004728, allocations: 7.312 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004729, allocations: 0 / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.004732, allocations: 0 / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.004735, allocations: 4 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.617e-05/0.004831, allocations: 128.8 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.004831, allocations: 0 / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.004854, allocations: 7.984 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.004857, allocations: 3.938 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.004863, allocations: 0 / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.004865, allocations: 3.938 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004865, allocations: 4 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.005182, allocations: 159.5 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.00519, allocations: 7.891 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.005199, allocations: 0 / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.483e-05/0.005234, allocations: 7.984 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.005266, allocations: 11.98 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.005268, allocations: 256 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.005293, allocations: 83.28 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005293, allocations: 3.938 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001331/0.005426, allocations: 4 kB / 1.003 GB, free: 9.328 MB / 0.9636 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 (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.0003158/0.005742, allocations: 0.6968 MB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.005868, allocations: 35.95 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.005869, allocations: 0 / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.005909, allocations: 19.98 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.006157, allocations: 2.391 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.006502, allocations: 146.4 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.535e-05/0.006547, allocations: 59.36 kB / 1.004 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.006569, allocations: 0 / 1.004 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.006607, allocations: 16.48 kB / 1.004 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.006607, allocations: 3.938 kB / 1.004 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.02345, allocations: 1.965 MB / 1.006 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.709, allocations: 6.031 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable addPar.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv. Warning: Get data of variable addPar.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.967127794399858]