Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 106.6 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001819, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 489 MB / 0.7678 GB, free: 40 kB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.88 kB / 1.101 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8672/0.8693, allocations: 163.8 MB / 1.261 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002041/0.8713, allocations: 0.8226 MB / 1.262 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.8715, allocations: 47.78 kB / 1.262 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.8715, allocations: 0 / 1.262 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.8716, allocations: 7.875 kB / 1.262 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.8717, allocations: 7.875 kB / 1.262 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.212e-05/0.8717, allocations: 19.98 kB / 1.262 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.8718, allocations: 63.83 kB / 1.262 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.872, allocations: 46.62 kB / 1.262 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.155e-05/0.872, allocations: 27.86 kB / 1.262 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.8721, allocations: 27.8 kB / 1.262 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.8721, allocations: 8 kB / 1.262 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.8722, allocations: 7.938 kB / 1.262 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.8722, allocations: 19.92 kB / 1.262 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.8723, allocations: 35.81 kB / 1.262 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.8724, allocations: 67.64 kB / 1.262 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8724, allocations: 0 / 1.262 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8724, allocations: 0 / 1.262 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8724, allocations: 3.984 kB / 1.262 GB, free: 5.922 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004881/0.8729, allocations: 379.1 kB / 1.263 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.8729, allocations: 8.031 kB / 1.263 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.392e-05/0.873, allocations: 54.61 kB / 1.263 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.873, allocations: 12.84 kB / 1.263 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.8733, allocations: 196.2 kB / 1.263 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.8733, allocations: 4.375 kB / 1.263 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.8733, allocations: 8.375 kB / 1.263 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.8735, allocations: 94.39 kB / 1.263 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8735, allocations: 3.938 kB / 1.263 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.8736, allocations: 11.97 kB / 1.263 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.8736, allocations: 0 / 1.263 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.8736, allocations: 35.98 kB / 1.263 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.8742, allocations: 440.7 kB / 1.263 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/0.8743, allocations: 41.22 kB / 1.263 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.8744, allocations: 13.88 kB / 1.263 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.8744, allocations: 11.94 kB / 1.263 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.8744, allocations: 38.55 kB / 1.264 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.8744, allocations: 0 / 1.264 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001804/0.8746, allocations: 53.53 kB / 1.264 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.8747, allocations: 81.11 kB / 1.264 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.8749, allocations: 158.4 kB / 1.264 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.8749, allocations: 33.7 kB / 1.264 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.875, allocations: 100.1 kB / 1.264 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-06/0.875, allocations: 3.953 kB / 1.264 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.875, allocations: 17.72 kB / 1.264 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8752, allocations: 318.8 kB / 1.264 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.8752, allocations: 4 kB / 1.264 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.8752, allocations: 21.7 kB / 1.264 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.8753, allocations: 33.66 kB / 1.264 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8753, allocations: 0 / 1.264 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.8754, allocations: 57.61 kB / 1.264 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.8755, allocations: 7.938 kB / 1.264 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8755, allocations: 4 kB / 1.264 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.8755, allocations: 3.938 kB / 1.264 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.8756, allocations: 15.86 kB / 1.264 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8756, allocations: 64 / 1.264 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.8757, allocations: 15.94 kB / 1.264 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.8757, allocations: 0 / 1.264 GB, free: 3.414 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.516e-05/0.8758, allocations: 114.5 kB / 1.265 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.8758, allocations: 11.89 kB / 1.265 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.8759, allocations: 15.86 kB / 1.265 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8759, allocations: 0 / 1.265 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8759, allocations: 0 / 1.265 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8759, allocations: 4 kB / 1.265 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.8763, allocations: 470.7 kB / 1.265 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.8763, allocations: 4 kB / 1.265 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.8764, allocations: 0 / 1.265 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.8764, allocations: 4 kB / 1.265 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.8764, allocations: 4 kB / 1.265 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8764, allocations: 0 / 1.265 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8764, allocations: 0 / 1.265 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.606e-05/0.8765, allocations: 85.88 kB / 1.265 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.8766, allocations: 85.06 kB / 1.265 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.8766, allocations: 0 / 1.265 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.8766, allocations: 7.984 kB / 1.265 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.8766, allocations: 4 kB / 1.265 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.8766, allocations: 0 / 1.265 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.822e-05/0.8767, allocations: 121.7 kB / 1.265 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8767, allocations: 4 kB / 1.265 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001889/0.8769, allocations: 8 kB / 1.265 GB, free: 2.375 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004372/0.8774, allocations: 0.6132 MB / 1.266 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.555e-05/0.8775, allocations: 20.03 kB / 1.266 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8775, allocations: 0 / 1.266 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.8775, allocations: 7.938 kB / 1.266 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.8777, allocations: 9.719 kB / 1.266 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.879, allocations: 1.327 MB / 1.267 GB, free: 276 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.8793, allocations: 0.7002 MB / 1.268 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.8794, allocations: 4.438 kB / 1.268 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.8795, allocations: 31.36 kB / 1.268 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.8795, allocations: 3.938 kB / 1.268 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.9011, allocations: 1.576 MB / 1.27 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/9.034, allocations: 11.94 kB / 1.27 GB, free: 14.03 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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: 15.396457524038851]