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.0008171/0.0008171, 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.0009932/0.0009932, allocations: 170.3 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.9095/0.9095, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.763/1.763, 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.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: Performance of FrontEnd - loaded program: time 3.237e-06/3.237e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.484e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001448/0.001473, allocations: 0.8336 MB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.002366, allocations: 0.9141 MB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.002448, allocations: 7.938 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.002485, allocations: 11.86 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.00256, allocations: 19.8 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.002744, allocations: 71.78 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.00292, allocations: 135.7 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.003068, allocations: 41.66 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.003155, allocations: 71.86 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.003212, allocations: 43.81 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.003243, allocations: 19.98 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.003257, allocations: 16 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.003283, allocations: 27.91 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.003319, allocations: 35.91 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.003477, allocations: 151.4 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.00348, allocations: 4 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003481, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5e-06/0.003486, allocations: 0 / 1.002 GB, free: 11.03 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004658/0.003952, allocations: 361.8 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.003996, allocations: 12.75 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.004034, allocations: 46.73 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.004068, allocations: 16.84 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.004289, allocations: 165.5 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.004301, allocations: 12.38 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.004319, allocations: 12.38 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.004582, allocations: 227.2 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004589, allocations: 192 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.004604, allocations: 12.38 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.004611, allocations: 8.125 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.004788, allocations: 127.9 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.005367, allocations: 435.3 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.005504, allocations: 78.53 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.005572, allocations: 45.03 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.005595, allocations: 7.922 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.005618, allocations: 38.5 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.005619, allocations: 0 / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002991/0.005918, allocations: 157.8 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.005945, allocations: 51.41 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.00608, allocations: 192.8 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.006094, allocations: 37.64 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.00615, allocations: 112 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.006169, allocations: 35.64 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.006207, allocations: 29.7 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.006292, allocations: 326.8 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.541e-05/0.006367, allocations: 39.97 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.006432, allocations: 43.97 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.006568, allocations: 95.31 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006571, allocations: 3.938 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001839/0.006755, allocations: 145.5 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.006768, allocations: 8 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.006774, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.006785, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.006887, allocations: 31.97 kB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.006892, allocations: 0 / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.006938, allocations: 19.89 kB / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.006946, allocations: 8 kB / 1.005 GB, free: 7.926 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 (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 6.928e-05/0.007015, allocations: 121.8 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.007039, allocations: 23.83 kB / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.007255, allocations: 139 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.007257, allocations: 0 / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.007262, allocations: 0 / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.007264, allocations: 0 / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.00762, allocations: 408 kB / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.007622, allocations: 0 / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.007685, allocations: 27.92 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.007688, allocations: 4 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.007696, allocations: 0 / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.0077, allocations: 4.078 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.007704, allocations: 7.969 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.007894, allocations: 246.1 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.007914, allocations: 19.92 kB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.007928, allocations: 3.938 kB / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.008001, allocations: 19.98 kB / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.008036, allocations: 7.984 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.008044, allocations: 8 kB / 1.006 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.503e-05/0.008119, allocations: 149.1 kB / 1.006 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008119, allocations: 0 / 1.006 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001656/0.008285, allocations: 24 kB / 1.006 GB, free: 6.637 MB / 0.9636 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.0003867/0.008671, allocations: 0.7773 MB / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.008854, allocations: 91.88 kB / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008856, allocations: 0 / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.008928, allocations: 52.09 kB / 1.007 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.009164, allocations: 22.17 kB / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.01067, allocations: 1.884 MB / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.01073, allocations: 102.7 kB / 1.009 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.626e-05/0.01078, allocations: 17.12 kB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.01085, allocations: 44.48 kB / 1.009 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.343e-06/0.01085, allocations: 0 / 1.009 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.02913, allocations: 3.544 MB / 1.012 GB, free: 100 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.74, allocations: 0.5 kB / 1.012 GB, free: 100 kB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.923273427411914]