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.001926/0.001926, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.00237/0.00237, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.382/3.382, allocations: 0.505 GB / 0.8066 GB, free: 23.15 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.002979/0.002979, allocations: 66.28 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.4, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002196/0.4022, allocations: 0.8931 MB / 1.349 GB, free: 9.102 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.4034, allocations: 0.9289 MB / 1.35 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.4035, allocations: 3.938 kB / 1.35 GB, free: 8.156 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.4035, allocations: 7.875 kB / 1.35 GB, free: 8.148 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.4036, allocations: 11.81 kB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.4038, allocations: 67.89 kB / 1.35 GB, free: 8.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.4041, allocations: 131.8 kB / 1.35 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4042, allocations: 51.28 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.317e-05/0.4043, allocations: 51.72 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.4044, allocations: 59.75 kB / 1.35 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.4044, allocations: 12 kB / 1.35 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.4044, allocations: 23.94 kB / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.4045, allocations: 27.92 kB / 1.35 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.4045, allocations: 63.64 kB / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.4047, allocations: 139.7 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4047, allocations: 0 / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4047, allocations: 3.938 kB / 1.35 GB, free: 7.512 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4047, allocations: 0 / 1.35 GB, free: 7.512 MB / 1.045 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.0006783/0.4054, allocations: 446.9 kB / 1.351 GB, free: 7.023 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4055, allocations: 15.98 kB / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.4055, allocations: 46.73 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.4056, allocations: 16.84 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.4058, allocations: 216.1 kB / 1.351 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4059, allocations: 8.375 kB / 1.351 GB, free: 6.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.4059, allocations: 12.38 kB / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.4062, allocations: 166.1 kB / 1.351 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4062, allocations: 3.938 kB / 1.351 GB, free: 6.496 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4062, allocations: 4 kB / 1.351 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4063, allocations: 4 kB / 1.351 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.4066, allocations: 123.9 kB / 1.351 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.4074, allocations: 488.2 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.4076, allocations: 90.41 kB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.4077, allocations: 40.83 kB / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.4078, allocations: 0 / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4078, allocations: 38.56 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.4078, allocations: 4 kB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0004919/0.4083, allocations: 161.6 kB / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.4083, allocations: 51.41 kB / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.4085, allocations: 188.4 kB / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4086, allocations: 29.7 kB / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.4086, allocations: 120 kB / 1.352 GB, free: 5.066 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.4087, allocations: 35.69 kB / 1.352 GB, free: 5.031 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.4087, allocations: 25.72 kB / 1.352 GB, free: 5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4089, allocations: 326.8 kB / 1.353 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.409, allocations: 39.97 kB / 1.353 GB, free: 4.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.4091, allocations: 43.97 kB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.4094, allocations: 98.88 kB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4094, allocations: 7.938 kB / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003269/0.4097, allocations: 141.6 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4097, allocations: 7.938 kB / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4097, allocations: 0 / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4097, allocations: 11.97 kB / 1.353 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.4099, allocations: 23.92 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4099, allocations: 4 kB / 1.353 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.41, allocations: 11.89 kB / 1.353 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.41, allocations: 8 kB / 1.353 GB, free: 4.273 MB / 1.045 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.0001094/0.4101, allocations: 129.8 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.4102, allocations: 15.91 kB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.4105, allocations: 139 kB / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4105, allocations: 4 kB / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4105, allocations: 0 / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4105, allocations: 0 / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.4112, allocations: 456.8 kB / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4112, allocations: 0 / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4113, allocations: 23.98 kB / 1.354 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4113, allocations: 0 / 1.354 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4113, allocations: 4.469 kB / 1.354 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4113, allocations: 8.094 kB / 1.354 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4113, allocations: 0 / 1.354 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.4117, allocations: 245.8 kB / 1.354 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.4118, allocations: 100.9 kB / 1.354 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.4118, allocations: 8 kB / 1.354 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.4119, allocations: 15.98 kB / 1.354 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.412, allocations: 15.86 kB / 1.354 GB, free: 2.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.412, allocations: 8 kB / 1.354 GB, free: 2.988 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001307/0.4121, allocations: 148.3 kB / 1.354 GB, free: 2.844 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4121, allocations: 0 / 1.354 GB, free: 2.844 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002727/0.4124, allocations: 20 kB / 1.354 GB, free: 2.824 MB / 1.045 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.0007195/0.4131, allocations: 0.7773 MB / 1.355 GB, free: 2.012 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003144/0.4134, allocations: 106.6 kB / 1.355 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4134, allocations: 0 / 1.355 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.4136, allocations: 47.98 kB / 1.355 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.4139, allocations: 15.92 kB / 1.355 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.4163, allocations: 1.888 MB / 1.357 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.4167, allocations: 0.7121 MB / 1.358 GB, free: 15.13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.851e-05/0.4167, allocations: 13.08 kB / 1.358 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.4168, allocations: 39.42 kB / 1.358 GB, free: 15.08 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4168, allocations: 0 / 1.358 GB, free: 15.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.4447, allocations: 2.825 MB / 1.361 GB, free: 12.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/8.687, allocations: 14.19 kB / 1.361 GB, free: 12.34 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.749043700052425]