Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001699/0.001699, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002722/0.002722, allocations: 211.6 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.625/1.625, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.518/3.518, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 72.81 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3846, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002521/0.3872, allocations: 0.8619 MB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3885, allocations: 0.9133 MB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.3886, allocations: 4 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.711e-05/0.3886, allocations: 11.81 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.3887, allocations: 7.875 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.389, allocations: 63.89 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.3892, allocations: 147.7 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.3894, allocations: 37.66 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.3895, allocations: 55.83 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.3896, allocations: 47.7 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.3896, allocations: 12 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.407e-05/0.3896, allocations: 12 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.3897, allocations: 31.91 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.3897, allocations: 51.72 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.39, allocations: 147.6 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.39, allocations: 0 / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.434e-06/0.39, allocations: 4 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.39, allocations: 0 / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007338/0.3907, allocations: 365.8 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3908, allocations: 12.03 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.3908, allocations: 46.73 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3909, allocations: 16.84 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.3912, allocations: 158.3 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.3912, allocations: 12.38 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3912, allocations: 12.38 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.3917, allocations: 231.3 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3917, allocations: 3.938 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.3917, allocations: 4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3917, allocations: 4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.392, allocations: 123.9 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.3929, allocations: 447.3 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.3931, allocations: 74.48 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.3932, allocations: 48.77 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3932, allocations: 4 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3933, allocations: 30.56 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.3933, allocations: 0 / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004985/0.3938, allocations: 165.6 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.3938, allocations: 55.41 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.394, allocations: 203.5 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3941, allocations: 25.7 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.3941, allocations: 120 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.3942, allocations: 31.73 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.3942, allocations: 25.72 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3944, allocations: 326.8 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3945, allocations: 43.98 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3946, allocations: 47.22 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.3949, allocations: 92.81 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3949, allocations: 3.938 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003176/0.3952, allocations: 145.5 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3952, allocations: 4 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3952, allocations: 4 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3952, allocations: 4 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3954, allocations: 23.98 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.3954, allocations: 0 / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3955, allocations: 23.83 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3955, allocations: 4 kB / 1.369 GB, free: 8.547 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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 0.0001216/0.3956, allocations: 121.8 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.3957, allocations: 15.91 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.396, allocations: 139.3 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.396, allocations: 4 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.396, allocations: 0 / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.396, allocations: 0 / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.3967, allocations: 412 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3967, allocations: 7.938 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3968, allocations: 24.08 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3968, allocations: 4 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3968, allocations: 4 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3968, allocations: 0 / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3968, allocations: 3.938 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.3971, allocations: 241.9 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.3972, allocations: 15.91 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3972, allocations: 8 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3973, allocations: 23.91 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3974, allocations: 15.92 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3974, allocations: 4 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001287/0.3975, allocations: 141.2 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3975, allocations: 0 / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002487/0.3978, allocations: 24 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007633/0.3985, allocations: 0.7734 MB / 1.37 GB, free: 6.449 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.3989, allocations: 99.89 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3989, allocations: 0 / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.399, allocations: 43.91 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3993, allocations: 26.06 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.4016, allocations: 1.888 MB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.4017, allocations: 98.75 kB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.702e-05/0.4018, allocations: 17.08 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.4019, allocations: 47.36 kB / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Performance of SimCode: time 4.6e-07/0.4019, allocations: 0 / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.4338, allocations: 3.407 MB / 1.376 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.87, allocations: 8 kB / 1.376 GB, free: 0.8516 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_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_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable line1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv. Warning: Get data of variable line1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.296474881935865]