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.0008066/0.0008066, 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.0008876/0.0008876, 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.9053/0.9053, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.739/1.739, allocations: 389 MB / 0.633 GB, free: 12.69 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 2.966e-06/2.966e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.528e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001458/0.001484, allocations: 0.8412 MB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.002403, allocations: 0.9102 MB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.002494, allocations: 4 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.002532, allocations: 15.8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.002602, allocations: 15.81 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.002799, allocations: 63.84 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.00297, allocations: 143.7 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.003113, allocations: 37.67 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.003201, allocations: 71.86 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.003258, allocations: 51.8 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.003287, allocations: 12 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.003301, allocations: 16 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.003326, allocations: 27.91 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.00336, allocations: 39.89 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.00352, allocations: 147.4 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003522, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003523, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003527, allocations: 8 kB / 1.002 GB, free: 11.02 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.0004473/0.003974, allocations: 365.8 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.004015, allocations: 8.75 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.004053, allocations: 46.73 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.004087, allocations: 16.84 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.004297, allocations: 153.5 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.004309, allocations: 16.38 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.004324, allocations: 12.38 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.004582, allocations: 227.2 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.004591, allocations: 8.172 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.004605, allocations: 8.375 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.004611, allocations: 4.125 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.004785, allocations: 131.9 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.005327, allocations: 443.3 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.005465, allocations: 78.53 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.005534, allocations: 40.84 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.005555, allocations: 0 / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.005582, allocations: 46.61 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.005583, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0003037/0.005887, allocations: 165.4 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.005913, allocations: 51.41 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.006045, allocations: 192.8 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.00606, allocations: 29.7 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.006116, allocations: 112 kB / 1.004 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.006133, allocations: 35.64 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.006174, allocations: 33.7 kB / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.006256, allocations: 326.8 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.006333, allocations: 39.97 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.006395, allocations: 46.47 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.006529, allocations: 88.83 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006531, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001829/0.006714, allocations: 149.4 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.006729, allocations: 8 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006734, allocations: 0 / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.006745, allocations: 4 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.00684, allocations: 23.98 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.006845, allocations: 0 / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.006894, allocations: 23.88 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.006901, allocations: 0 / 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 7.295e-05/0.006974, allocations: 125.8 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.006997, allocations: 19.84 kB / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.007204, allocations: 139 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007207, allocations: 4 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.007211, allocations: 0 / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.007214, allocations: 3.938 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.007583, allocations: 404 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.007585, allocations: 0 / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.007639, allocations: 23.98 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.007643, allocations: 4.469 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.007651, allocations: 4.094 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.007654, allocations: 7.938 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.007655, allocations: 0 / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.007847, allocations: 245.8 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.007868, allocations: 27.83 kB / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.007881, allocations: 0 / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.007952, allocations: 19.98 kB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.007986, allocations: 7.984 kB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.007992, allocations: 12 kB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.008071, allocations: 153.1 kB / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008071, allocations: 0 / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001713/0.008242, allocations: 24 kB / 1.006 GB, free: 6.625 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.0004476/0.00869, allocations: 0.7723 MB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.008949, allocations: 95.88 kB / 1.007 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.008952, allocations: 0 / 1.007 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.009053, allocations: 47.91 kB / 1.007 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.009391, allocations: 16.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.002028/0.01142, allocations: 1.9 MB / 1.009 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.558e-05/0.01148, allocations: 94.78 kB / 1.009 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.01153, allocations: 13.14 kB / 1.009 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.0116, allocations: 52.47 kB / 1.009 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of SimCode: time 1.041e-06/0.0116, allocations: 0 / 1.009 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.02951, allocations: 3.543 MB / 1.012 GB, free: 84 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/6.562, allocations: 8.531 kB / 1.012 GB, free: 80 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.624942351132631]